org.w3c.dom.NamedNodeMap
public class ElemLiteralResult.LiteralElementAttributes
extends java.lang.Object
implements org.w3c.dom.NamedNodeMap
Constructor | Description |
---|---|
LiteralElementAttributes() |
Construct a NameNodeMap.
|
Modifier and Type | Method | 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
index th 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.NamedNodeMap
0
to length-1
inclusivepublic org.w3c.dom.Node getNamedItem(java.lang.String name)
getNamedItem
in interface org.w3c.dom.NamedNodeMap
name
- 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.NamedNodeMap
namespaceURI
- 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)
index
th 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.NamedNodeMap
i
- The index of the requested item.index
th 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.NamedNodeMap
name
- of the node to removeorg.w3c.dom.DOMException
NamedNodeMap
public org.w3c.dom.Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName) throws org.w3c.dom.DOMException
removeNamedItemNS
in interface org.w3c.dom.NamedNodeMap
namespaceURI
- Namespace URI of the node to removelocalName
- Local part of qualified name of the node to removeorg.w3c.dom.DOMException
NamedNodeMap
public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg) throws org.w3c.dom.DOMException
setNamedItem
in interface org.w3c.dom.NamedNodeMap
A
- node to store in this maporg.w3c.dom.DOMException
public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg) throws org.w3c.dom.DOMException
setNamedItemNS
in interface org.w3c.dom.NamedNodeMap
A
- node to store in this maporg.w3c.dom.DOMException
Copyright ? 2014 Apache XML Project. All Rights Reserved.