|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis.message.NodeImpl
org.apache.axis.message.MessageElement
com.ibm.di.fc.webservice.util.SOAPBodyOutputNS
public class SOAPBodyOutputNS
This class is used by the SOAPEnvelopeOutputNS
class
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.axis.message.MessageElement |
---|
org.apache.axis.message.MessageElement.QNameAttr |
Field Summary |
---|
Fields inherited from class org.apache.axis.message.MessageElement |
---|
_isRoot, context, encodingStyle, endEventIndex, fixupDeserializer, href, id, message, namespaces, qNameAttrs, recorder, startContentsIndex, startEventIndex, typeQName |
Fields inherited from class org.apache.axis.message.NodeImpl |
---|
_isDirty, attributes, children, document, name, namespaceURI, parent, prefix, textRep |
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
---|---|
SOAPBodyOutputNS(java.lang.String namespace,
java.lang.String localPart,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
org.apache.axis.encoding.DeserializationContext context,
org.apache.axis.soap.SOAPConstants soapConsts)
Class constructor |
Method Summary | |
---|---|
javax.xml.soap.SOAPBodyElement |
addBodyElement(javax.xml.soap.Name name)
adds a new SOAPBodyElement |
void |
addChild(org.apache.axis.message.MessageElement el)
Note that this method will log a error and no-op if there is a value (set using setObjectValue) in the MessageElement. |
javax.xml.soap.SOAPBodyElement |
addDocument(org.w3c.dom.Document aDoc)
not used |
javax.xml.soap.SOAPFault |
addFault()
Creates a new SOAPFault object and adds it to this SOAPBody object. |
javax.xml.soap.SOAPFault |
addFault(javax.xml.soap.Name aName,
java.lang.String aFault)
not used |
javax.xml.soap.SOAPFault |
addFault(javax.xml.soap.Name aName,
java.lang.String aFault,
java.util.Locale aLocale)
not used |
short |
compareDocumentPosition(org.w3c.dom.Node other)
not used |
void |
detachNode()
Removes this Node object from the tree. |
void |
disableFormatting()
Sets the class field to true to disable formatting |
boolean |
equals(java.lang.Object o)
|
protected org.apache.axis.message.MessageElement |
findElement(java.util.Vector vec,
java.lang.String namespace,
java.lang.String localPart)
Finds SOAPBodyElement |
java.lang.String |
getBaseURI()
not used |
java.util.Iterator |
getChildElements()
get an iterator over the children This iterator may get confused if changes are made to the children while the iteration is in progress. |
java.util.Iterator |
getChildElements(javax.xml.soap.Name name)
Returns an iterator over all the child elements with the specified name. |
org.xml.sax.Attributes |
getCompleteAttributes()
Obtain an Attributes collection consisting of all attributes for this MessageElement, including namespace declarations. |
javax.xml.soap.SOAPFault |
getFault()
Retrieves SOAPFault. |
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version)
not used |
org.w3c.dom.TypeInfo |
getSchemaTypeInfo()
not used |
java.lang.String |
getTextContent()
not used |
java.lang.Object |
getUserData(java.lang.String key)
not used |
boolean |
hasFault()
Indicates whether a SOAPFault object exists in this SOAPBody object. |
int |
hashCode()
|
boolean |
isDefaultNamespace(java.lang.String namespaceURI)
not used |
boolean |
isEqualNode(org.w3c.dom.Node arg)
not used |
boolean |
isSameNode(org.w3c.dom.Node other)
not used |
java.lang.String |
lookupNamespaceURI(java.lang.String prefix)
not used |
java.lang.String |
lookupPrefix(java.lang.String namespaceURI)
not used |
protected void |
outputImpl(org.apache.axis.encoding.SerializationContext context)
override point -output to a serialization context. |
void |
removeChild(org.apache.axis.message.MessageElement child)
removes all occurrences of the specified child element |
void |
setEncodingStyle(java.lang.String encodingStyle)
Sets the encoding style for this SOAPElement object to one specified. |
void |
setIdAttribute(java.lang.String name,
boolean isId)
not used |
void |
setIdAttributeNode(org.w3c.dom.Attr idAttr,
boolean isId)
not used |
void |
setIdAttributeNS(java.lang.String namespaceURI,
java.lang.String localName,
boolean isId)
not used |
void |
setParentElement(javax.xml.soap.SOAPElement parent)
Sets the parent of this Node object to the given SOAPElement
object. |
void |
setSAAJEncodingCompliance(boolean comply)
Indicates the SAAJCompliance |
void |
setTextContent(java.lang.String textContent)
not used |
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
not used |
Methods inherited from class org.apache.axis.message.MessageElement |
---|
addAttribute, addAttribute, addAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addMapping, addNamespaceDeclaration, addTextNode, childDeepCloned, cloneNode, cloning, detachAllChildren, getAllAttributes, getAsDocument, getAsDOM, getAsString, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributesEx, getAttributeValue, getAttributeValue, getChildElement, getChildElements, getChildren, getDeserializationContext, getElementName, getElementsByTagName, getElementsByTagNameNS, getElementsNS, getEncodingStyle, getEnvelope, getFixupDeserializer, getHref, getID, getLength, getName, getNamespacePrefixes, getNamespaceURI, getObjectValue, getObjectValue, getOwnerDocument, getPrefix, getQName, getRealElement, getRecorder, getTagName, getType, getValue, getValueAsType, getValueAsType, getValueDOM, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, isRoot, item, output, publishContents, publishToHandler, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAllAttributes, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentsIndex, setEndIndex, setEnvelope, setFixupDeserializer, setName, setNamespaceURI, setNSMappings, setObjectValue, setQName, setRecorder, setType, setValue, toString |
Methods inherited from class org.apache.axis.message.NodeImpl |
---|
appendChild, convertAttrSAXtoDOM, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, initializeChildren, insertBefore, isDirty, isSupported, makeAttributesEditable, normalize, recycleNode, removeChild, replaceChild, reset, setDirty, setDirty, setNodeValue, setOwnerDocument, setParent, setPrefix |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.soap.SOAPElement |
---|
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration |
Methods inherited from interface javax.xml.soap.Node |
---|
getParentElement, getValue, recycleNode, setValue |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.w3c.dom.Element |
---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Constructor Detail |
---|
public SOAPBodyOutputNS(java.lang.String namespace, java.lang.String localPart, java.lang.String prefix, org.xml.sax.Attributes attributes, org.apache.axis.encoding.DeserializationContext context, org.apache.axis.soap.SOAPConstants soapConsts) throws org.apache.axis.AxisFault
namespace
- StringlocalPart
- Stringprefix
- Stringattributes
- Attributes
context
- DeserializationContext
soapConsts
- SOAPConstants
org.apache.axis.AxisFault
Method Detail |
---|
public void setParentElement(javax.xml.soap.SOAPElement parent) throws javax.xml.soap.SOAPException
Node
object to the given SOAPElement
object.
setParentElement
in class org.apache.axis.message.NodeImpl
parent
- the SOAPElement
object to be set as the parent of this
Node object
javax.xml.soap.SOAPException
- if there is a problem in setting the parent to the given
element
java.lang.IllegalArgumentException
- if the SOAPElement
is null
public void detachNode()
detachNode
in class org.apache.axis.message.NodeImpl
public void disableFormatting()
true
to disable formatting
public void setEncodingStyle(java.lang.String encodingStyle) throws javax.xml.soap.SOAPException
setEncodingStyle
in interface javax.xml.soap.SOAPElement
setEncodingStyle
in class org.apache.axis.message.MessageElement
encodingStyle
- String
javax.xml.soap.SOAPException
- when for some reason the style cannot be set
java.lang.IllegalArgumentException
- when the encoding style is not recognizedprotected void outputImpl(org.apache.axis.encoding.SerializationContext context) throws java.lang.Exception
outputImpl
in class org.apache.axis.message.MessageElement
context
- SerializationContext
is destination
java.lang.Exception
- if something went wrong.protected org.apache.axis.message.MessageElement findElement(java.util.Vector vec, java.lang.String namespace, java.lang.String localPart)
SOAPBodyElement
findElement
in class org.apache.axis.message.MessageElement
vec
- Vector , the collection to be searched innamespace
- StringlocalPart
- String
public javax.xml.soap.SOAPBodyElement addBodyElement(javax.xml.soap.Name name) throws javax.xml.soap.SOAPException
addBodyElement
in interface javax.xml.soap.SOAPBody
name
- Name
javax.xml.soap.SOAPException
SOAPBody.addBodyElement(javax.xml.soap.Name)
public javax.xml.soap.SOAPFault addFault() throws javax.xml.soap.SOAPException
addFault
in interface javax.xml.soap.SOAPBody
javax.xml.soap.SOAPException
- if there is a SOAP errorSOAPBody.addFault()
public javax.xml.soap.SOAPFault getFault()
getFault
in interface javax.xml.soap.SOAPBody
public boolean hasFault()
hasFault
in interface javax.xml.soap.SOAPBody
public void addChild(org.apache.axis.message.MessageElement el) throws javax.xml.soap.SOAPException
addChild
in class org.apache.axis.message.MessageElement
el
- MessageElement
javax.xml.soap.SOAPException
public java.util.Iterator getChildElements()
getChildElements
in interface javax.xml.soap.SOAPElement
getChildElements
in class org.apache.axis.message.MessageElement
public java.util.Iterator getChildElements(javax.xml.soap.Name name)
getChildElements
in interface javax.xml.soap.SOAPElement
getChildElements
in class org.apache.axis.message.MessageElement
name
- -
a Name object with the name of the child elements to be
returned
public void removeChild(org.apache.axis.message.MessageElement child)
child
- MessageElement
public void setSAAJEncodingCompliance(boolean comply)
comply
- booleanpublic org.xml.sax.Attributes getCompleteAttributes()
getCompleteAttributes
in class org.apache.axis.message.MessageElement
public javax.xml.soap.SOAPBodyElement addDocument(org.w3c.dom.Document aDoc) throws javax.xml.soap.SOAPException
addDocument
in interface javax.xml.soap.SOAPBody
aDoc
- org.w3c.dom.Document
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name aName, java.lang.String aFault) throws javax.xml.soap.SOAPException
addFault
in interface javax.xml.soap.SOAPBody
aName
- Name
aFault
- String
javax.xml.soap.SOAPException
public javax.xml.soap.SOAPFault addFault(javax.xml.soap.Name aName, java.lang.String aFault, java.util.Locale aLocale) throws javax.xml.soap.SOAPException
addFault
in interface javax.xml.soap.SOAPBody
aName
- Name
aFault
- StringaLocale
- Locale
javax.xml.soap.SOAPException
public java.lang.Object getUserData(java.lang.String key)
getUserData
in interface org.w3c.dom.Node
key
- String
public java.lang.Object setUserData(java.lang.String key, java.lang.Object data, org.w3c.dom.UserDataHandler handler)
setUserData
in interface org.w3c.dom.Node
key
- Stringdata
- Objecthandler
- UserDataHandler
public java.lang.Object getFeature(java.lang.String feature, java.lang.String version)
getFeature
in interface org.w3c.dom.Node
feature
- Stringversion
- String
public boolean isEqualNode(org.w3c.dom.Node arg)
isEqualNode
in interface org.w3c.dom.Node
arg
- Node
false
public java.lang.String lookupNamespaceURI(java.lang.String prefix)
lookupNamespaceURI
in interface org.w3c.dom.Node
prefix
- String
null
public boolean isDefaultNamespace(java.lang.String namespaceURI)
isDefaultNamespace
in interface org.w3c.dom.Node
namespaceURI
- String
false
public java.lang.String lookupPrefix(java.lang.String namespaceURI)
lookupPrefix
in interface org.w3c.dom.Node
namespaceURI
- String
null
public boolean isSameNode(org.w3c.dom.Node other)
isSameNode
in interface org.w3c.dom.Node
other
- Node
false
public void setTextContent(java.lang.String textContent) throws org.w3c.dom.DOMException
setTextContent
in interface org.w3c.dom.Node
textContent
- String
org.w3c.dom.DOMException
public java.lang.String getTextContent() throws org.w3c.dom.DOMException
getTextContent
in interface org.w3c.dom.Node
null
org.w3c.dom.DOMException
public short compareDocumentPosition(org.w3c.dom.Node other) throws org.w3c.dom.DOMException
compareDocumentPosition
in interface org.w3c.dom.Node
other
- Node
org.w3c.dom.DOMException
public java.lang.String getBaseURI()
getBaseURI
in interface org.w3c.dom.Node
null
public void setIdAttributeNode(org.w3c.dom.Attr idAttr, boolean isId) throws org.w3c.dom.DOMException
setIdAttributeNode
in interface org.w3c.dom.Element
idAttr
- Attr
isId
- boolean
org.w3c.dom.DOMException
public void setIdAttributeNS(java.lang.String namespaceURI, java.lang.String localName, boolean isId) throws org.w3c.dom.DOMException
setIdAttributeNS
in interface org.w3c.dom.Element
namespaceURI
- String
localName
- String
isId
- boolean
org.w3c.dom.DOMException
public void setIdAttribute(java.lang.String name, boolean isId) throws org.w3c.dom.DOMException
setIdAttribute
in interface org.w3c.dom.Element
name
- String
isId
- boolean
org.w3c.dom.DOMException
public org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface org.w3c.dom.Element
null
public boolean equals(java.lang.Object o)
equals
in class org.apache.axis.message.MessageElement
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |