public class ElemLiteralResult.LiteralElementAttributes extends Object implements NamedNodeMap
| Constructor and Description |
|---|
LiteralElementAttributes()
Construct a NameNodeMap.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Return the number of Attributes on this Element
|
Node |
getNamedItem(String name)
Retrieves a node specified by name.
|
Node |
getNamedItemNS(String namespaceURI,
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(String name) |
Node |
removeNamedItemNS(String namespaceURI,
String localName) |
Node |
setNamedItem(Node arg)
Unimplemented.
|
Node |
setNamedItemNS(Node arg)
Unimplemented.
|
public LiteralElementAttributes()
public int getLength()
getLength in interface NamedNodeMap0 to length-1 inclusivepublic Node getNamedItem(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(String namespaceURI, 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(String name) throws DOMException
removeNamedItem in interface NamedNodeMapname - of the node to removeDOMExceptionNamedNodeMappublic Node removeNamedItemNS(String namespaceURI, String localName) throws DOMException
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 © 2017 JBoss by Red Hat. All rights reserved.