public interface AdapterNode extends 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
Modifier and Type | Method and Description |
---|---|
AdapterFactory |
getAdapterFactory()
The adapter factory that created this node.
|
Node |
getChildAfter(Node thisNode)
The child node after the specified sibling
|
Node |
getChildBefore(Node thisNode)
The child node before the specified sibling
|
AdapterNode |
getParent()
The parent adapter node of this node.
|
String |
getPropertyName()
The name of the Java object (property) that we are adapting
|
Object |
getPropertyValue()
The Java object (property) that we are adapting
|
void |
setAdapterFactory(AdapterFactory factory) |
void |
setParent(AdapterNode parent) |
void |
setPropertyName(String name) |
void |
setPropertyValue(Object prop) |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
AdapterFactory getAdapterFactory()
void setAdapterFactory(AdapterFactory factory)
factory
- the adapter factory that created this node.AdapterNode getParent()
void setParent(AdapterNode parent)
parent
- the parent adapter node of this node. Note that our parent must be another adapter node, but our children may be any
kind of Node.Node getChildBefore(Node thisNode)
thisNode
- this nodeNode getChildAfter(Node thisNode)
thisNode
- this nodeString getPropertyName()
void setPropertyName(String name)
name
- the name of the Java object (property) that we are adaptingObject getPropertyValue()
void setPropertyValue(Object prop)
prop
- the Java object (property) that we are adaptingCopyright © 2000–2020 Apache Software Foundation. All rights reserved.