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 TypeMethodDescriptionint
getNamedItem
(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:
getLength
in interfaceNamedNodeMap
-
item
- Specified by:
item
in interfaceNamedNodeMap
-
getNamedItem
- Specified by:
getNamedItem
in interfaceNamedNodeMap
-
removeNamedItem
- Specified by:
removeNamedItem
in interfaceNamedNodeMap
- Throws:
DOMException
-
setNamedItem
- Specified by:
setNamedItem
in interfaceNamedNodeMap
- Throws:
DOMException
-
setNamedItemNS
- Specified by:
setNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
-
getNamedItemNS
- Specified by:
getNamedItemNS
in interfaceNamedNodeMap
-
removeNamedItemNS
- Specified by:
removeNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
-