|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.dom.NodeImpl
org.apache.axis2.saaj.NodeImplEx
org.apache.axis2.saaj.SOAPElementImpl
public class SOAPElementImpl
| Field Summary | |
|---|---|
protected org.apache.axiom.om.impl.dom.ElementImpl |
element
Using a delegate because we can't extend from org.apache.axiom.om.impl.dom.ElementImpl since this class must extend SNodeImpl |
| Fields inherited from class org.apache.axis2.saaj.NodeImplEx |
|---|
parentElement |
| Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
| 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 |
| Fields inherited from interface org.apache.axiom.om.OMNode |
|---|
DTD_NODE, PI_NODE, SPACE_NODE |
| Constructor Summary | |
|---|---|
SOAPElementImpl(org.apache.axiom.om.impl.dom.ElementImpl element)
|
|
| Method Summary | |
|---|---|
SOAPElement |
addAttribute(Name name,
java.lang.String value)
Adds an attribute with the specified name and value to this SOAPElement object. |
SOAPElement |
addAttribute(QName qname,
java.lang.String value)
|
SOAPElement |
addChildElement(Name name)
Creates a new SOAPElement object initialized with the given Name
object and adds the new element to this SOAPElement object. |
SOAPElement |
addChildElement(QName qname)
|
SOAPElement |
addChildElement(SOAPElement soapElement)
Add a SOAPElement as a child of this SOAPElement instance. |
SOAPElement |
addChildElement(java.lang.String localName)
Creates a new SOAPElement object initialized with the given String
object and adds the new element to this SOAPElement object. |
SOAPElement |
addChildElement(java.lang.String localName,
java.lang.String prefix)
Creates a new SOAPElement object initialized with the specified local name and
prefix and adds the new element to this SOAPElement object. |
SOAPElement |
addChildElement(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri)
Creates a new SOAPElement object initialized with the specified local name,
prefix, and URI and adds the new element to this SOAPElement object. |
SOAPElement |
addNamespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
Adds a namespace declaration with the specified prefix and URI to this SOAPElement object. |
SOAPElement |
addTextNode(java.lang.String text)
Creates a new Text object initialized with the given String and
adds it to this SOAPElement object. |
QName |
createQName(java.lang.String localName,
java.lang.String prefix)
Creates a QName whose namespace URI is the one associated with the parameter, prefix, in the context of this SOAPElement. |
org.apache.axiom.om.OMNode |
detach()
|
void |
detachNode()
Removes this Node object from the tree. |
void |
discard()
|
java.util.Iterator |
getAllAttributes()
Returns an iterator over all of the attribute names in this SOAPElement object. |
java.util.Iterator |
getAllAttributesAsQNames()
|
java.lang.String |
getAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
getAttributeNode(java.lang.String name)
|
org.w3c.dom.Attr |
getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
java.lang.String |
getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
org.w3c.dom.NamedNodeMap |
getAttributes()
Returns the collection of attributes associated with this node, or null if none. |
java.lang.String |
getAttributeValue(Name name)
Returns the value of the attribute with the specified name. |
java.lang.String |
getAttributeValue(QName qname)
|
java.util.Iterator |
getChildElements()
Returns an iterator over all the immediate content of this element. |
java.util.Iterator |
getChildElements(Name name)
Returns an iterator over all the child elements with the specified name. |
java.util.Iterator |
getChildElements(QName qname)
|
org.w3c.dom.NodeList |
getChildNodes()
|
org.apache.axiom.om.impl.dom.ElementImpl |
getElement()
|
Name |
getElementName()
Returns the name of this SOAPElement object. |
QName |
getElementQName()
|
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String name)
|
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
|
java.lang.String |
getEncodingStyle()
Returns the encoding style for this SOAPElement object. |
org.w3c.dom.Node |
getFirstChild()
|
org.w3c.dom.Node |
getLastChild()
Method getLastChild |
java.lang.String |
getLocalName()
|
java.util.Iterator |
getNamespacePrefixes()
Returns an iterator of namespace prefixes. |
java.lang.String |
getNamespaceURI()
|
java.lang.String |
getNamespaceURI(java.lang.String prefix)
Returns the URI of the namespace that has the given prefix. |
org.w3c.dom.Node |
getNextSibling()
dom Node method |
java.lang.String |
getNodeName()
|
short |
getNodeType()
|
org.w3c.dom.Document |
getOwnerDocument()
Find the Document that this Node belongs to (the document in whose context the Node was created). |
SOAPElement |
getParentElement()
Returns the parent element of this Node object. |
org.w3c.dom.Node |
getParentNode()
|
java.lang.String |
getPrefix()
|
org.w3c.dom.Node |
getPreviousSibling()
|
java.lang.String |
getTagName()
|
java.lang.String |
getValue()
Returns the the value of the immediate child of this Node object if a child
exists and its value is text. |
java.util.Iterator |
getVisibleNamespacePrefixes()
Returns an Iterator over the namespace prefix Strings visible to
this element. |
boolean |
hasAttribute(java.lang.String name)
|
boolean |
hasAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
boolean |
hasChildNodes()
|
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer)
|
void |
internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
|
boolean |
removeAttribute(Name name)
Removes the attribute with the specified name. |
boolean |
removeAttribute(QName qname)
|
void |
removeAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
removeAttributeNode(org.w3c.dom.Attr attr)
|
void |
removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
void |
removeContents()
Detaches all children of this SOAPElement. |
boolean |
removeNamespaceDeclaration(java.lang.String prefix)
Removes the namespace declaration corresponding to the given prefix. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
|
org.w3c.dom.Attr |
setAttributeNode(org.w3c.dom.Attr attr)
|
org.w3c.dom.Attr |
setAttributeNodeNS(org.w3c.dom.Attr attr)
|
void |
setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
|
SOAPElement |
setElementQName(QName newName)
|
void |
setEncodingStyle(java.lang.String encodingStyle)
Sets the encoding style for this SOAPElement object to one specified. |
void |
setParent(org.apache.axiom.om.OMContainer parentElement)
|
void |
setParentElement(SOAPElement parent)
Sets the parent of this Node object to the given SOAPElement
object. |
void |
setValue(java.lang.String value)
If this is a Text node then this method will set its value, otherwise it sets the value of the immediate (Text) child of this node. |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.axis2.saaj.NodeImplEx |
|---|
getParent, getSchemaTypeInfo, getType, recycleNode, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setType |
| Methods inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
appendChild, build, buildWithAttachments, cloneNode, close, compareDocumentPosition, getBaseURI, getFeature, getLength, getNextOMSibling, getNodeValue, getOMFactory, getPreviousOMSibling, getTextContent, getUserData, hasAttributes, insertBefore, insertSiblingAfter, insertSiblingBefore, internalSerializeWithCache, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setNodeValue, setOwnerDocument, setPrefix, setPreviousOMSibling, setTextContent, setUserData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.xml.soap.Node |
|---|
recycleNode |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getFeature, getNodeValue, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getFeature, getNodeValue, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Field Detail |
|---|
protected org.apache.axiom.om.impl.dom.ElementImpl element
| Constructor Detail |
|---|
public SOAPElementImpl(org.apache.axiom.om.impl.dom.ElementImpl element)
| Method Detail |
|---|
public void discard()
throws org.apache.axiom.om.OMException
discard in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMException
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerialize in interface org.apache.axiom.om.impl.OMNodeExjavax.xml.stream.XMLStreamException
public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerializeAndConsume in interface org.apache.axiom.om.impl.OMNodeExjavax.xml.stream.XMLStreamException
public SOAPElement addAttribute(Name name,
java.lang.String value)
throws SOAPException
SOAPElement object.
addAttribute in interface SOAPElementname - a Name object with the name of the attributevalue - a String giving the value of the attribute
SOAPElement object into which the attribute was inserted
SOAPException - if there is an error in creating the Attribute
public SOAPElement addChildElement(Name name)
throws SOAPException
SOAPElementSOAPElement object initialized with the given Name
object and adds the new element to this SOAPElement object.
addChildElement in interface SOAPElementname - a Name object with the XML name for the new element
SOAPElement object that was created
SOAPException - if there is an error in creating the SOAPElement object
public SOAPElement addChildElement(SOAPElement soapElement)
throws SOAPException
SOAPElementSOAPElement as a child of this SOAPElement instance. The
SOAPElement is expected to be created by a SOAPElementFactory.
Callers should not rely on the element instance being added as is into the XML tree.
Implementations could end up copying the content of the SOAPElement passed into
an instance of a different SOAPElement implementation. For instance if
addChildElement() is called on a SOAPHeader, element
will be copied into an instance of a SOAPHeaderElement.
The fragment rooted in element is either added as a whole or not at all, if
there was an error.
The fragment rooted in element cannot contain elements named "Envelope",
"Header" or "Body" and in the SOAP namespace. Any namespace prefixes present in the fragment
should be fully resolved using appropriate namespace declarations within the fragment
itself.
addChildElement in interface SOAPElementsoapElement - the SOAPElement to be added as a new child
SOAPException - if there was an error in adding this element as a childpublic java.lang.String getLocalName()
getLocalName in interface org.w3c.dom.NodegetLocalName in class org.apache.axiom.om.impl.dom.NodeImplpublic java.lang.String getNamespaceURI()
getNamespaceURI in interface org.w3c.dom.NodegetNamespaceURI in class org.apache.axiom.om.impl.dom.NodeImplpublic java.lang.String getPrefix()
getPrefix in interface org.w3c.dom.NodegetPrefix in class org.apache.axiom.om.impl.dom.NodeImpl
public SOAPElement addChildElement(java.lang.String localName,
java.lang.String prefix,
java.lang.String uri)
throws SOAPException
SOAPElementSOAPElement object initialized with the specified local name,
prefix, and URI and adds the new element to this SOAPElement object.
addChildElement in interface SOAPElementlocalName - a String giving the local name for the new elementprefix - a String giving the namespace prefix for the new elementuri - a String giving the URI of the namespace to which the new
element belongs
SOAPElement object that was created
SOAPException - if there is an error in creating the SOAPElement object
public SOAPElement addChildElement(java.lang.String localName,
java.lang.String prefix)
throws SOAPException
SOAPElementSOAPElement object initialized with the specified local name and
prefix and adds the new element to this SOAPElement object.
addChildElement in interface SOAPElementlocalName - a String giving the local name for the new elementprefix - a String giving the namespace prefix for the new element
SOAPElement object that was created
SOAPException - if there is an error in creating the SOAPElement object
public SOAPElement addChildElement(java.lang.String localName)
throws SOAPException
SOAPElementSOAPElement object initialized with the given String
object and adds the new element to this SOAPElement object.
addChildElement in interface SOAPElementlocalName - a String giving the local name for the element
SOAPElement object that was created
SOAPException - if there is an error in creating the SOAPElement object
public SOAPElement addNamespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
throws SOAPException
SOAPElementSOAPElement object.
addNamespaceDeclaration in interface SOAPElementprefix - a String giving the prefix of the namespaceuri - a String giving the prefix of the namespace
SOAPElement object into which this namespace declaration was
inserted.
SOAPException - if there is an error in creating the namespace
public SOAPElement addTextNode(java.lang.String text)
throws SOAPException
Text object initialized with the given String and
adds it to this SOAPElement object.
addTextNode in interface SOAPElementtext - a String object with the textual content to be added
SOAPElement object into which the new Text object was
inserted
SOAPException - if there is an error in creating the new Text objectpublic java.util.Iterator getAllAttributes()
SOAPElement object.
The iterator can be used to get the attribute names, which can then be passed to the method
getAttributeValue to retrieve the value of each attribute.
getAllAttributes in interface SOAPElementpublic java.lang.String getAttributeValue(Name name)
SOAPElement
getAttributeValue in interface SOAPElementname - a Name object with the name of the attribute
String giving the value of the specified attributepublic java.util.Iterator getChildElements()
Text objects as well as SOAPElement objects.
getChildElements in interface SOAPElementText and SOAPElement contained within this
SOAPElement objectpublic java.util.Iterator getChildElements(Name name)
SOAPElement
getChildElements in interface SOAPElementname - a Name object with the name of the child elements to be returned
Iterator object over all the elements in this
SOAPElement object with the specified namepublic Name getElementName()
SOAPElementSOAPElement object.
getElementName in interface SOAPElementName object with the name of this SOAPElement objectpublic java.lang.String getEncodingStyle()
SOAPElement SOAPElement object.
getEncodingStyle in interface SOAPElementString giving the encoding stylesetEncodingStyle(java.lang.String)public java.util.Iterator getNamespacePrefixes()
SOAPElementgetNamespaceURI to retrieve the
URI of each namespace.
getNamespacePrefixes in interface SOAPElementSOAPElement objectpublic java.lang.String getNamespaceURI(java.lang.String prefix)
SOAPElement
getNamespaceURI in interface SOAPElementprefix - a String giving the prefix of the namespace for which to search
String with the uri of the namespace that has the given prefixpublic java.util.Iterator getVisibleNamespacePrefixes()
SOAPElementIterator over the namespace prefix Strings visible to
this element. The prefixes returned by this iterator can be passed to the method
getNamespaceURI() to retrieve the URI of each namespace.
getVisibleNamespacePrefixes in interface SOAPElementSOAPElement object
public SOAPElement addAttribute(QName qname,
java.lang.String value)
throws SOAPException
addAttribute in interface SOAPElementSOAPException
public SOAPElement addChildElement(QName qname)
throws SOAPException
addChildElement in interface SOAPElementSOAPException
public QName createQName(java.lang.String localName,
java.lang.String prefix)
throws SOAPException
createQName in interface SOAPElementlocalName - - a String containing the local part of the name. prefix - a String
containing the prefix for the name.
SOAPException - - if the QName cannot be created.public java.util.Iterator getAllAttributesAsQNames()
getAllAttributesAsQNames in interface SOAPElementpublic java.lang.String getAttributeValue(QName qname)
getAttributeValue in interface SOAPElementpublic java.util.Iterator getChildElements(QName qname)
getChildElements in interface SOAPElementpublic QName getElementQName()
getElementQName in interface SOAPElementpublic boolean removeAttribute(QName qname)
removeAttribute in interface SOAPElement
public SOAPElement setElementQName(QName newName)
throws SOAPException
setElementQName in interface SOAPElementSOAPExceptionpublic boolean removeAttribute(Name name)
SOAPElement
removeAttribute in interface SOAPElementname - the Name object with the name of the attribute to be removed
true if the attribute was removed successfully; false if it
was notpublic void removeContents()
SOAPElementSOAPElement.
This method is useful for rolling back the construction of partially completed
SOAPHeaders and SOAPBodys in reparation for sending a fault when an
error condition is detected. It is also useful for recycling portions of a document within a
SOAP message.
removeContents in interface SOAPElementpublic boolean removeNamespaceDeclaration(java.lang.String prefix)
SOAPElement
removeNamespaceDeclaration in interface SOAPElementprefix - a String giving the prefix for which to search
true if the namespace declaration was removed successfully;
false if it was not
public void setEncodingStyle(java.lang.String encodingStyle)
throws SOAPException
setEncodingStyle in interface SOAPElementencodingStyle - - a String giving the encoding style
java.lang.IllegalArgumentException - - if there was a problem in the encoding style being set. SOAPException - if setting
the encodingStyle is invalid for this SOAPElement.
SOAPExceptiongetEncodingStyle()public void setParent(org.apache.axiom.om.OMContainer parentElement)
setParent in interface org.apache.axiom.om.impl.OMNodeExpublic java.lang.String getAttribute(java.lang.String name)
getAttribute in interface org.w3c.dom.Elementpublic org.w3c.dom.Attr getAttributeNode(java.lang.String name)
getAttributeNode in interface org.w3c.dom.Element
public org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
getAttributeNodeNS in interface org.w3c.dom.Element
public java.lang.String getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
getAttributeNS in interface org.w3c.dom.Elementpublic org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
getElementsByTagName in interface org.w3c.dom.Element
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
getElementsByTagNameNS in interface org.w3c.dom.Elementpublic java.lang.String getTagName()
getTagName in interface org.w3c.dom.Elementpublic boolean hasAttribute(java.lang.String name)
hasAttribute in interface org.w3c.dom.Element
public boolean hasAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
hasAttributeNS in interface org.w3c.dom.Element
public void removeAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
removeAttribute in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr attr)
throws org.w3c.dom.DOMException
removeAttributeNode in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public void removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
removeAttributeNS in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public void setAttribute(java.lang.String name,
java.lang.String value)
throws org.w3c.dom.DOMException
setAttribute in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr attr)
throws org.w3c.dom.DOMException
setAttributeNode in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr attr)
throws org.w3c.dom.DOMException
setAttributeNodeNS in interface org.w3c.dom.Elementorg.w3c.dom.DOMException
public void setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
throws org.w3c.dom.DOMException
setAttributeNS in interface org.w3c.dom.Elementorg.w3c.dom.DOMExceptionpublic java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.Nodepublic short getNodeType()
getNodeType in interface org.w3c.dom.Nodepublic org.apache.axiom.om.impl.dom.ElementImpl getElement()
public SOAPElement getParentElement()
Node object. This method can throw an
UnsupportedOperationException if the tree is not kept in memory.
getParentElement in class NodeImplExSOAPElement object that is the parent of this Node
object or null if this Node object is root
java.lang.UnsupportedOperationException - if the whole tree is not kept in memorysetParentElement(javax.xml.soap.SOAPElement)
public void setParentElement(SOAPElement parent)
throws SOAPException
NodeImplExNode object to the given SOAPElement
object.
setParentElement in class NodeImplExparent - the SOAPElement object to be set as the parent of this
Node object
SOAPException - if there is a problem in setting the parent to the given elementgetParentElement()public org.w3c.dom.Document getOwnerDocument()
getOwnerDocument in interface org.w3c.dom.NodegetOwnerDocument in class org.apache.axiom.om.impl.dom.NodeImplpublic java.lang.String getValue()
Node object if a child
exists and its value is text.
getValue in class NodeImplExString with the text of the immediate child of this Node
object if (1) there is a child and (2) the child is a Text object;
null otherwisepublic org.w3c.dom.Node getFirstChild()
getFirstChild in interface org.w3c.dom.NodegetFirstChild in class org.apache.axiom.om.impl.dom.NodeImplpublic org.w3c.dom.Node getLastChild()
getLastChild in interface org.w3c.dom.NodegetLastChild in class org.apache.axiom.om.impl.dom.NodeImplNode.getLastChild()public org.w3c.dom.Node getParentNode()
getParentNode in interface org.w3c.dom.NodegetParentNode in class org.apache.axiom.om.impl.dom.NodeImplpublic org.w3c.dom.Node getNextSibling()
getNextSibling in interface org.w3c.dom.NodegetNextSibling in class org.apache.axiom.om.impl.dom.NodeImplpublic org.w3c.dom.Node getPreviousSibling()
getPreviousSibling in interface org.w3c.dom.NodegetPreviousSibling in class org.apache.axiom.om.impl.dom.NodeImplpublic org.w3c.dom.NodeList getChildNodes()
getChildNodes in interface org.w3c.dom.NodegetChildNodes in class org.apache.axiom.om.impl.dom.NodeImplpublic boolean hasChildNodes()
hasChildNodes in interface org.w3c.dom.NodehasChildNodes in class org.apache.axiom.om.impl.dom.NodeImplpublic void setValue(java.lang.String value)
value - the text to set
java.lang.IllegalStateException - if the node is not a Text node and either has more than one
child node or has a child node that is not a Text nodepublic void detachNode()
NodeImplExNode object from the tree. Once removed, this node can be garbage
collected if there are no application references to it.
detachNode in class NodeImplExpublic org.apache.axiom.om.OMNode detach()
detach in interface org.apache.axiom.om.OMNodedetach in class NodeImplExpublic org.w3c.dom.NamedNodeMap getAttributes()
getAttributes in interface org.w3c.dom.NodegetAttributes in class org.apache.axiom.om.impl.dom.NodeImplElementImplpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||