public abstract class ProxyNodeAdapter extends AbstractAdapterNode
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 and Description |
---|
ProxyNodeAdapter(AdapterFactory factory,
AdapterNode parent,
Node value) |
Modifier and Type | Method and Description |
---|---|
NamedNodeMap |
getAttributes() |
String |
getLocalName() |
String |
getNamespaceURI() |
String |
getNodeName() |
short |
getNodeType() |
String |
getNodeValue() |
String |
getPrefix() |
boolean |
hasAttributes() |
boolean |
hasChildNodes() |
boolean |
isSupported(String s,
String s1) |
protected Node |
node()
Get the proxied Node value
|
String |
toString() |
protected NamedNodeMap |
wrap(NamedNodeMap nnm) |
protected Node |
wrap(Node node)
Get and adapter to wrap the proxied node.
|
appendChild, buildChildAdapters, cloneNode, compareDocumentPosition, getAdapterFactory, getBaseURI, getChildAdapters, getChildAfter, getChildBefore, getChildBeforeOrAfter, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getParent, getParentNode, getPreviousSibling, getPropertyName, getPropertyValue, getTextContent, getUserData, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, operationNotSupported, removeChild, replaceChild, setAdapterFactory, setContext, setNodeValue, setParent, setPrefix, setPropertyName, setPropertyValue, setTextContent, setUserData
public ProxyNodeAdapter(AdapterFactory factory, AdapterNode parent, Node value)
protected Node node()
protected NamedNodeMap wrap(NamedNodeMap nnm)
public String getNodeName()
getNodeName
in interface Node
getNodeName
in class AbstractAdapterNode
public String getNodeValue() throws DOMException
getNodeValue
in interface Node
getNodeValue
in class AbstractAdapterNode
DOMException
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class AbstractAdapterNode
public NamedNodeMap getAttributes()
getAttributes
in interface Node
getAttributes
in class AbstractAdapterNode
public boolean hasChildNodes()
hasChildNodes
in interface Node
hasChildNodes
in class AbstractAdapterNode
public boolean isSupported(String s, String s1)
isSupported
in interface Node
isSupported
in class AbstractAdapterNode
public String getNamespaceURI()
getNamespaceURI
in interface Node
getNamespaceURI
in class AbstractAdapterNode
public String getPrefix()
getPrefix
in interface Node
getPrefix
in class AbstractAdapterNode
public String getLocalName()
getLocalName
in interface Node
getLocalName
in class AbstractAdapterNode
public boolean hasAttributes()
hasAttributes
in interface Node
hasAttributes
in class AbstractAdapterNode
public String toString()
toString
in class AbstractAdapterNode
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.