public abstract class ProxyNode<T extends Node,S extends org.apache.axiom.om.OMInformationItem> extends Object implements Node
Modifier and Type | Field and Description |
---|---|
protected S |
omTarget |
protected T |
target |
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
protected final S extends org.apache.axiom.om.OMInformationItem omTarget
public final T getTarget()
public final S getOMTarget()
public void recycleNode()
Node
object 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 method recycleNode
implies that the method detachNode
has been called previously.public void setType(int nodeType) throws org.apache.axiom.om.OMException
org.apache.axiom.om.OMException
public int getType()
public TypeInfo getSchemaTypeInfo()
public void setIdAttribute(String name, boolean isId) throws DOMException
DOMException
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException
DOMException
public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException
DOMException
public Node getParentNode()
getParentNode
in interface Node
public final boolean hasAttributes()
hasAttributes
in interface Node
public final boolean isSupported(String feature, String version)
isSupported
in interface Node
public final String getBaseURI()
getBaseURI
in interface Node
public final String getNodeValue() throws DOMException
getNodeValue
in interface Node
DOMException
public final void setNodeValue(String nodeValue) throws DOMException
setNodeValue
in interface Node
DOMException
public final Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
DOMException
public final Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
DOMException
public final void setPrefix(String prefix) throws DOMException
setPrefix
in interface Node
DOMException
public final short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition
in interface Node
DOMException
public final void setTextContent(String textContent) throws DOMException
setTextContent
in interface Node
DOMException
public final boolean isSameNode(Node other)
isSameNode
in interface Node
public final String lookupPrefix(String namespaceURI)
lookupPrefix
in interface Node
public final boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace
in interface Node
public final String lookupNamespaceURI(String prefix)
lookupNamespaceURI
in interface Node
public final boolean isEqualNode(Node arg)
isEqualNode
in interface Node
public final Object getFeature(String feature, String version)
getFeature
in interface Node
public final Object setUserData(String key, Object data, UserDataHandler handler)
setUserData
in interface Node
public final Object getUserData(String key)
getUserData
in interface Node
public final Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
DOMException
public final String getNodeName()
getNodeName
in interface Node
public final short getNodeType()
getNodeType
in interface Node
public final Document getOwnerDocument()
getOwnerDocument
in interface Node
public final String getLocalName()
getLocalName
in interface Node
public final String getNamespaceURI()
getNamespaceURI
in interface Node
public final Node getFirstChild()
getFirstChild
in interface Node
public final boolean hasChildNodes()
hasChildNodes
in interface Node
public final Node getLastChild()
getLastChild
in interface Node
public final NodeList getChildNodes()
getChildNodes
in interface Node
public final Node appendChild(Node child) throws DOMException
appendChild
in interface Node
DOMException
protected Element appendElement(Element child) throws SOAPException
SOAPException
public final String getTextContent() throws DOMException
getTextContent
in interface Node
DOMException
public final NamedNodeMap getAttributes()
getAttributes
in interface Node
public final Node getNextSibling()
getNextSibling
in interface Node
public final Node getPreviousSibling()
getPreviousSibling
in interface Node
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.