Package org.apache.struts2.result.xslt
Class ProxyNamedNodeMap
java.lang.Object
org.apache.struts2.result.xslt.ProxyNamedNodeMap
- All Implemented Interfaces:
NamedNodeMap
A NamedNodeMap that wraps the Nodes returned in their proxies.
Note: Since maps have no guaranteed order we don't need to worry about identity here as we do with "child" adapters. In that case we need to preserve identity in order to support finding the next/previous siblings.
-
Constructor Summary
ConstructorsConstructorDescriptionProxyNamedNodeMap(AdapterFactory factory, AdapterNode parent, NamedNodeMap nodes) -
Method Summary
Modifier and TypeMethodDescriptionintgetNamedItem(String name) getNamedItemNS(String namespaceURI, String localName) item(int index) removeNamedItem(String name) removeNamedItemNS(String namespaceURI, String localName) setNamedItem(Node arg) setNamedItemNS(Node arg) protected Node
-
Constructor Details
-
ProxyNamedNodeMap
-
-
Method Details
-
wrap
-
getLength
public int getLength()- Specified by:
getLengthin interfaceNamedNodeMap
-
item
- Specified by:
itemin interfaceNamedNodeMap
-
getNamedItem
- Specified by:
getNamedItemin interfaceNamedNodeMap
-
removeNamedItem
- Specified by:
removeNamedItemin interfaceNamedNodeMap- Throws:
DOMException
-
setNamedItem
- Specified by:
setNamedItemin interfaceNamedNodeMap- Throws:
DOMException
-
setNamedItemNS
- Specified by:
setNamedItemNSin interfaceNamedNodeMap- Throws:
DOMException
-
getNamedItemNS
- Specified by:
getNamedItemNSin interfaceNamedNodeMap
-
removeNamedItemNS
- Specified by:
removeNamedItemNSin interfaceNamedNodeMap- Throws:
DOMException
-