Package org.apache.struts2.result.xslt
Class ProxyElementAdapter
java.lang.Object
org.apache.struts2.result.xslt.AbstractAdapterNode
org.apache.struts2.result.xslt.ProxyNodeAdapter
org.apache.struts2.result.xslt.ProxyElementAdapter
- All Implemented Interfaces:
- AdapterNode,- Element,- Node
ProxyElementAdapter is a pass-through adapter for objects which already implement the Element 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.
Note: this class wants to be (extend) both an AbstractElementAdapter and ProxyElementAdapter, but its proxy-ness is winning right now.
- 
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 SummaryConstructorsConstructorDescriptionProxyElementAdapter(AdapterFactory factory, AdapterNode parent, Element value) 
- 
Method SummaryModifier and TypeMethodDescriptionsubclasses override to produce their childrenprotected Elementelement()getAttribute(String name) getAttributeNode(String name) getAttributeNodeNS(String namespaceURI, String localName) getAttributeNS(String namespaceURI, String localName) booleanhasAttribute(String name) booleanhasAttributeNS(String namespaceURI, String localName) voidremoveAttribute(String name) removeAttributeNode(Attr oldAttr) voidremoveAttributeNS(String namespaceURI, String localName) voidsetAttribute(String name, String value) setAttributeNode(Attr newAttr) setAttributeNodeNS(Attr newAttr) voidsetAttributeNS(String namespaceURI, String qualifiedName, String value) voidsetIdAttribute(String string, boolean b) voidsetIdAttributeNode(Attr attr, boolean b) voidsetIdAttributeNS(String string, String string1, boolean b) toString()Methods inherited from class org.apache.struts2.result.xslt.ProxyNodeAdaptergetAttributes, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getPrefix, hasAttributes, hasChildNodes, isSupported, node, wrap, wrapMethods inherited from class org.apache.struts2.result.xslt.AbstractAdapterNodeappendChild, 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, setUserDataMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.ElementgetElementsByTagName, getElementsByTagNameNSMethods inherited from interface org.w3c.dom.NodeappendChild, 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
- 
Constructor Details- 
ProxyElementAdapter
 
- 
- 
Method Details- 
element- Returns:
- the proxied Element
 
- 
buildChildAdaptersDescription copied from class:AbstractAdapterNodesubclasses override to produce their children- Overrides:
- buildChildAdaptersin class- AbstractAdapterNode
- Returns:
- List of child adapters.
 
- 
getTagName- Specified by:
- getTagNamein interface- Element
 
- 
hasAttribute- Specified by:
- hasAttributein interface- Element
 
- 
getAttribute- Specified by:
- getAttributein interface- Element
 
- 
hasAttributeNS- Specified by:
- hasAttributeNSin interface- Element
 
- 
getAttributeNode- Specified by:
- getAttributeNodein interface- Element
 
- 
getAttributeNS- Specified by:
- getAttributeNSin interface- Element
 
- 
getAttributeNodeNS- Specified by:
- getAttributeNodeNSin interface- Element
 
- 
removeAttribute- Specified by:
- removeAttributein interface- Element
- Throws:
- DOMException
 
- 
removeAttributeNS- Specified by:
- removeAttributeNSin interface- Element
- Throws:
- DOMException
 
- 
setAttribute- Specified by:
- setAttributein interface- Element
- Throws:
- DOMException
 
- 
removeAttributeNode- Specified by:
- removeAttributeNodein interface- Element
- Throws:
- DOMException
 
- 
setAttributeNode- Specified by:
- setAttributeNodein interface- Element
- Throws:
- DOMException
 
- 
setAttributeNodeNS- Specified by:
- setAttributeNodeNSin interface- Element
- Throws:
- DOMException
 
- 
setAttributeNSpublic void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException - Specified by:
- setAttributeNSin interface- Element
- Throws:
- DOMException
 
- 
getSchemaTypeInfo- Specified by:
- getSchemaTypeInfoin interface- Element
 
- 
setIdAttribute- Specified by:
- setIdAttributein interface- Element
- Throws:
- DOMException
 
- 
setIdAttributeNS- Specified by:
- setIdAttributeNSin interface- Element
- Throws:
- DOMException
 
- 
setIdAttributeNode- Specified by:
- setIdAttributeNodein interface- Element
- Throws:
- DOMException
 
- 
toString- Overrides:
- toStringin class- ProxyNodeAdapter
 
 
-