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_NODEprotected 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.OMExceptionpublic int getType()
public TypeInfo getSchemaTypeInfo()
public void setIdAttribute(String name, boolean isId) throws DOMException
DOMExceptionpublic void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException
DOMExceptionpublic void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException
DOMExceptionpublic Node getParentNode()
getParentNode in interface Nodepublic final boolean hasAttributes()
hasAttributes in interface Nodepublic final boolean isSupported(String feature, String version)
isSupported in interface Nodepublic final String getBaseURI()
getBaseURI in interface Nodepublic final String getNodeValue() throws DOMException
getNodeValue in interface NodeDOMExceptionpublic final void setNodeValue(String nodeValue) throws DOMException
setNodeValue in interface NodeDOMExceptionpublic final Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore in interface NodeDOMExceptionpublic final Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild in interface NodeDOMExceptionpublic final void setPrefix(String prefix) throws DOMException
setPrefix in interface NodeDOMExceptionpublic final short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition in interface NodeDOMExceptionpublic final void setTextContent(String textContent) throws DOMException
setTextContent in interface NodeDOMExceptionpublic final boolean isSameNode(Node other)
isSameNode in interface Nodepublic final String lookupPrefix(String namespaceURI)
lookupPrefix in interface Nodepublic final boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface Nodepublic final String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface Nodepublic final boolean isEqualNode(Node arg)
isEqualNode in interface Nodepublic final Object getFeature(String feature, String version)
getFeature in interface Nodepublic final Object setUserData(String key, Object data, UserDataHandler handler)
setUserData in interface Nodepublic final Object getUserData(String key)
getUserData in interface Nodepublic final Node removeChild(Node oldChild) throws DOMException
removeChild in interface NodeDOMExceptionpublic final String getNodeName()
getNodeName in interface Nodepublic final short getNodeType()
getNodeType in interface Nodepublic final Document getOwnerDocument()
getOwnerDocument in interface Nodepublic final String getLocalName()
getLocalName in interface Nodepublic final String getNamespaceURI()
getNamespaceURI in interface Nodepublic final Node getFirstChild()
getFirstChild in interface Nodepublic final boolean hasChildNodes()
hasChildNodes in interface Nodepublic final Node getLastChild()
getLastChild in interface Nodepublic final NodeList getChildNodes()
getChildNodes in interface Nodepublic final Node appendChild(Node child) throws DOMException
appendChild in interface NodeDOMExceptionprotected Element appendElement(Element child) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPExceptionpublic final String getTextContent() throws DOMException
getTextContent in interface NodeDOMExceptionpublic final NamedNodeMap getAttributes()
getAttributes in interface Nodepublic final Node getNextSibling()
getNextSibling in interface Nodepublic final Node getPreviousSibling()
getPreviousSibling in interface NodeCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.