public class ElemLiteralResult.LiteralElementAttributes extends java.lang.Object implements NamedNodeMap
| Constructor and Description |
|---|
ElemLiteralResult.LiteralElementAttributes()
Construct a NameNodeMap.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Return the number of Attributes on this Element
|
Node |
getNamedItem(java.lang.String name)
Retrieves a node specified by name.
|
Node |
getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI.
|
Node |
item(int i)
Returns the
indexth item in the map. |
Node |
removeNamedItem(java.lang.String name)
Removes a node specified by name.
|
Node |
removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Removes a node specified by local name and namespace URI.
|
Node |
setNamedItem(Node arg)
Unimplemented.
|
Node |
setNamedItemNS(Node arg)
Unimplemented.
|
public ElemLiteralResult.LiteralElementAttributes()
public int getLength()
getLength in interface NamedNodeMap0 to length-1 inclusivepublic Node getNamedItem(java.lang.String name)
getNamedItem in interface NamedNodeMapname - The nodeName of a node to retrieve.Node (of any type) with the specified
nodeName, or null if it does not
identify any node in this map.public Node getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
getNamedItemNS in interface NamedNodeMapnamespaceURI - Namespace URI of attribute node to getlocalName - Local part of qualified name of attribute node to
getNode (of any type) with the specified
nodeName, or null if it does not
identify any node in this map.public Node item(int i)
indexth item in the map. If index
is greater than or equal to the number of nodes in this
map, this returns null.item in interface NamedNodeMapi - The index of the requested item.indexth position in the map,
or null if that is not a valid index.public Node removeNamedItem(java.lang.String name) throws DOMException
NamedNodeMapremoveNamedItem in interface NamedNodeMapname - of the node to removeDOMExceptionNamedNodeMappublic Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName) throws DOMException
NamedNodeMapNode interface. If so, an attribute
immediately appears containing the default value as well as the
corresponding namespace URI, local name, and prefix when applicable.
removeNamedItemNS in interface NamedNodeMapnamespaceURI - Namespace URI of the node to removelocalName - Local part of qualified name of the node to removeDOMExceptionNamedNodeMappublic Node setNamedItem(Node arg) throws DOMException
setNamedItem in interface NamedNodeMapA - node to store in this mapDOMExceptionpublic Node setNamedItemNS(Node arg) throws DOMException
setNamedItemNS in interface NamedNodeMapA - node to store in this mapDOMExceptionCopyright © 2014 Apache XML Project. All Rights Reserved.