Package org.apache.struts2.result.xslt
Class ProxyNodeAdapter
java.lang.Object
org.apache.struts2.result.xslt.AbstractAdapterNode
org.apache.struts2.result.xslt.ProxyNodeAdapter
- All Implemented Interfaces:
- AdapterNode,- Node
- Direct Known Subclasses:
- ProxyAttrAdapter,- ProxyElementAdapter,- ProxyTextNodeAdapter
ProxyNodeAdapter is a read-only delegating adapter for objects which already
 implement the Node interface.  All methods are proxied to the underlying
 Node except getParent(), getNextSibling() and getPreviousSibling(), which
 are implemented by the abstract adapter node to work with the parent adapter.
- 
Field SummaryFields inherited from interface org.w3c.dom.NodeATTRIBUTE_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 SummaryConstructorsModifierConstructorDescriptionprotectedProxyNodeAdapter(AdapterFactory factory, AdapterNode parent, Node value) 
- 
Method SummaryModifier and TypeMethodDescriptionshortbooleanbooleanbooleanisSupported(String s, String s1) protected Nodenode()toString()protected NamedNodeMapwrap(NamedNodeMap nnm) protected NodeMethods inherited from class org.apache.struts2.result.xslt.AbstractAdapterNodeappendChild, 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
- 
Constructor Details- 
ProxyNodeAdapter
 
- 
- 
Method Details- 
node- Returns:
- the proxied Node value
 
- 
wrap- Parameters:
- node- the node
- Returns:
- adapter to wrap the proxied node.
 
- 
wrap
- 
getNodeName- Specified by:
- getNodeNamein interface- Node
- Overrides:
- getNodeNamein class- AbstractAdapterNode
 
- 
getNodeValue- Specified by:
- getNodeValuein interface- Node
- Overrides:
- getNodeValuein class- AbstractAdapterNode
- Throws:
- DOMException
 
- 
getNodeTypepublic short getNodeType()- Specified by:
- getNodeTypein interface- Node
- Overrides:
- getNodeTypein class- AbstractAdapterNode
 
- 
getAttributes- Specified by:
- getAttributesin interface- Node
- Overrides:
- getAttributesin class- AbstractAdapterNode
 
- 
hasChildNodespublic boolean hasChildNodes()- Specified by:
- hasChildNodesin interface- Node
- Overrides:
- hasChildNodesin class- AbstractAdapterNode
 
- 
isSupported- Specified by:
- isSupportedin interface- Node
- Overrides:
- isSupportedin class- AbstractAdapterNode
 
- 
getNamespaceURI- Specified by:
- getNamespaceURIin interface- Node
- Overrides:
- getNamespaceURIin class- AbstractAdapterNode
 
- 
getPrefix- Specified by:
- getPrefixin interface- Node
- Overrides:
- getPrefixin class- AbstractAdapterNode
 
- 
getLocalName- Specified by:
- getLocalNamein interface- Node
- Overrides:
- getLocalNamein class- AbstractAdapterNode
 
- 
hasAttributespublic boolean hasAttributes()- Specified by:
- hasAttributesin interface- Node
- Overrides:
- hasAttributesin class- AbstractAdapterNode
 
- 
toString- Overrides:
- toStringin class- AbstractAdapterNode
 
 
-