Package org.apache.axis2.saaj
Class ProxyNode<T extends Node,S extends org.apache.axiom.om.OMInformationItem>
java.lang.Object
org.apache.axis2.saaj.ProxyNode<T,S>
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
NodeImpl,SAAJDocument
public abstract class ProxyNode<T extends Node,S extends org.apache.axiom.om.OMInformationItem>
extends Object
implements Node
A representation of a node (element) in a DOM representation of an XML document that provides
some tree manipulation methods. This interface provides methods for getting the value of a node,
for getting and setting the parent of a node, and for removing a node.
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal NodeappendChild(Node child) protected ElementappendElement(Element child) final NodecloneNode(boolean deep) final shortcompareDocumentPosition(Node other) final NamedNodeMapfinal Stringfinal NodeListfinal ObjectgetFeature(String feature, String version) final Nodefinal Nodefinal Stringfinal Stringfinal Nodefinal Stringfinal shortfinal Stringfinal Sfinal Documentfinal Stringfinal Nodefinal Tfinal StringintgetType()final ObjectgetUserData(String key) final booleanfinal booleanfinal NodeinsertBefore(Node newChild, Node refChild) final booleanisDefaultNamespace(String namespaceURI) final booleanisEqualNode(Node arg) final booleanisSameNode(Node other) final booleanisSupported(String feature, String version) final StringlookupNamespaceURI(String prefix) final StringlookupPrefix(String namespaceURI) final voidvoidNotifies the implementation that thisNodeobject is no longer being used by the application and that the implementation is free to reuse this object for nodes that may be created later.final NoderemoveChild(Node oldChild) final NodereplaceChild(Node newChild, Node oldChild) voidsetIdAttribute(String name, boolean isId) voidsetIdAttributeNode(Attr idAttr, boolean isId) voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId) final voidsetNodeValue(String nodeValue) final voidfinal voidsetTextContent(String textContent) voidsetType(int nodeType) final ObjectsetUserData(String key, Object data, UserDataHandler handler) protected final NodeListtoSAAJNodeList(NodeList nodes)
-
Field Details
-
target
-
omTarget
-
-
Constructor Details
-
ProxyNode
-
-
Method Details
-
getTarget
-
getOMTarget
-
recycleNode
public void recycleNode()Notifies the implementation that thisNodeobject is no longer being used by the application and that the implementation is free to reuse this object for nodes that may be created later. Calling the methodrecycleNodeimplies that the methoddetachNodehas been called previously. -
setType
public void setType(int nodeType) throws org.apache.axiom.om.OMException - Throws:
org.apache.axiom.om.OMException
-
getType
public int getType() -
getSchemaTypeInfo
-
setIdAttribute
- Throws:
DOMException
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException - Throws:
DOMException
-
setIdAttributeNode
- Throws:
DOMException
-
getParentNode
- Specified by:
getParentNodein interfaceNode
-
hasAttributes
public final boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode
-
isSupported
- Specified by:
isSupportedin interfaceNode
-
getBaseURI
- Specified by:
getBaseURIin interfaceNode
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Throws:
DOMException
-
setNodeValue
- Specified by:
setNodeValuein interfaceNode- Throws:
DOMException
-
insertBefore
- Specified by:
insertBeforein interfaceNode- Throws:
DOMException
-
replaceChild
- Specified by:
replaceChildin interfaceNode- Throws:
DOMException
-
cloneNode
-
normalize
public final void normalize() -
setPrefix
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException
-
compareDocumentPosition
- Specified by:
compareDocumentPositionin interfaceNode- Throws:
DOMException
-
setTextContent
- Specified by:
setTextContentin interfaceNode- Throws:
DOMException
-
isSameNode
- Specified by:
isSameNodein interfaceNode
-
lookupPrefix
- Specified by:
lookupPrefixin interfaceNode
-
isDefaultNamespace
- Specified by:
isDefaultNamespacein interfaceNode
-
lookupNamespaceURI
- Specified by:
lookupNamespaceURIin interfaceNode
-
isEqualNode
- Specified by:
isEqualNodein interfaceNode
-
getFeature
- Specified by:
getFeaturein interfaceNode
-
setUserData
- Specified by:
setUserDatain interfaceNode
-
getUserData
- Specified by:
getUserDatain interfaceNode
-
removeChild
- Specified by:
removeChildin interfaceNode- Throws:
DOMException
-
getNodeName
- Specified by:
getNodeNamein interfaceNode
-
getNodeType
public final short getNodeType()- Specified by:
getNodeTypein interfaceNode
-
getOwnerDocument
- Specified by:
getOwnerDocumentin interfaceNode
-
getLocalName
- Specified by:
getLocalNamein interfaceNode
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode
-
getPrefix
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode
-
hasChildNodes
public final boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode
-
getLastChild
- Specified by:
getLastChildin interfaceNode
-
toSAAJNodeList
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode
-
appendChild
- Specified by:
appendChildin interfaceNode- Throws:
DOMException
-
appendElement
- Throws:
jakarta.xml.soap.SOAPException
-
getTextContent
- Specified by:
getTextContentin interfaceNode- Throws:
DOMException
-
getAttributes
- Specified by:
getAttributesin interfaceNode
-
getNextSibling
- Specified by:
getNextSiblingin interfaceNode
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode
-