public class ElemLiteralResult.LiteralElementAttributes
extends java.lang.Object
implements org.w3c.dom.NamedNodeMap
| Constructor and Description |
|---|
LiteralElementAttributes()
Construct a NameNodeMap.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Return the number of Attributes on this Element
|
org.w3c.dom.Node |
getNamedItem(java.lang.String name)
Retrieves a node specified by name.
|
org.w3c.dom.Node |
getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieves a node specified by local name and namespace URI.
|
org.w3c.dom.Node |
item(int i)
Returns the
indexth item in the map. |
org.w3c.dom.Node |
removeNamedItem(java.lang.String name) |
org.w3c.dom.Node |
removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName) |
org.w3c.dom.Node |
setNamedItem(org.w3c.dom.Node arg)
Unimplemented.
|
org.w3c.dom.Node |
setNamedItemNS(org.w3c.dom.Node arg)
Unimplemented.
|
public LiteralElementAttributes()
public int getLength()
getLength in interface org.w3c.dom.NamedNodeMap0 to length-1 inclusivepublic org.w3c.dom.Node getNamedItem(java.lang.String name)
getNamedItem in interface org.w3c.dom.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 org.w3c.dom.Node getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
getNamedItemNS in interface org.w3c.dom.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 org.w3c.dom.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 org.w3c.dom.NamedNodeMapi - The index of the requested item.indexth position in the map,
or null if that is not a valid index.public org.w3c.dom.Node removeNamedItem(java.lang.String name)
throws org.w3c.dom.DOMException
removeNamedItem in interface org.w3c.dom.NamedNodeMapname - of the node to removeorg.w3c.dom.DOMExceptionNamedNodeMappublic org.w3c.dom.Node removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
removeNamedItemNS in interface org.w3c.dom.NamedNodeMapnamespaceURI - Namespace URI of the node to removelocalName - Local part of qualified name of the node to removeorg.w3c.dom.DOMExceptionNamedNodeMappublic org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg)
throws org.w3c.dom.DOMException
setNamedItem in interface org.w3c.dom.NamedNodeMapA - node to store in this maporg.w3c.dom.DOMExceptionpublic org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg)
throws org.w3c.dom.DOMException
setNamedItemNS in interface org.w3c.dom.NamedNodeMapA - node to store in this maporg.w3c.dom.DOMExceptionCopyright © 2023 Apache XML Project. All Rights Reserved.