Package org.apache.struts2.result.xslt
Interface AdapterNode
- All Superinterfaces:
Node
- All Known Implementing Classes:
AbstractAdapterElement
,AbstractAdapterNode
,ArrayAdapter
,BeanAdapter
,CollectionAdapter
,MapAdapter
,ProxyAttrAdapter
,ProxyElementAdapter
,ProxyNodeAdapter
,ProxyTextNodeAdapter
,SimpleAdapterDocument
,SimpleTextNode
,StringAdapter
-
Field Summary
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionThe adapter factory that created this node.getChildAfter
(Node thisNode) The child node after the specified siblinggetChildBefore
(Node thisNode) The child node before the specified siblingThe parent adapter node of this node.The name of the Java object (property) that we are adaptingThe Java object (property) that we are adaptingvoid
setAdapterFactory
(AdapterFactory factory) void
setParent
(AdapterNode parent) void
setPropertyName
(String name) void
setPropertyValue
(Object prop) Methods inherited from interface org.w3c.dom.Node
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
-
Method Details
-
getAdapterFactory
AdapterFactory getAdapterFactory()The adapter factory that created this node.- Returns:
- the adapter factory
-
setAdapterFactory
- Parameters:
factory
- the adapter factory that created this node.
-
getParent
AdapterNode getParent()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.- Returns:
- the parent adapter node
-
setParent
- Parameters:
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.
-
getChildBefore
The child node before the specified sibling- Parameters:
thisNode
- this node- Returns:
- the child node before
-
getChildAfter
The child node after the specified sibling- Parameters:
thisNode
- this node- Returns:
- the child node after
-
getPropertyName
String getPropertyName()The name of the Java object (property) that we are adapting- Returns:
- the property name
-
setPropertyName
- Parameters:
name
- the name of the Java object (property) that we are adapting
-
getPropertyValue
Object getPropertyValue()The Java object (property) that we are adapting- Returns:
- the property object
-
setPropertyValue
- Parameters:
prop
- the Java object (property) that we are adapting
-