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
index th 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 NamedNodeMap
0
to length-1
inclusivepublic Node getNamedItem(String name)
getNamedItem
in interface 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 Node getNamedItemNS(String namespaceURI, String localName)
getNamedItemNS
in interface 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 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 NamedNodeMap
i
- The index of the requested item.index
th position in the map,
or null
if that is not a valid index.public Node removeNamedItem(String name) throws DOMException
removeNamedItem
in interface NamedNodeMap
name
- of the node to removeDOMException
NamedNodeMap
public Node removeNamedItemNS(String namespaceURI, String localName) throws DOMException
removeNamedItemNS
in interface NamedNodeMap
namespaceURI
- Namespace URI of the node to removelocalName
- Local part of qualified name of the node to removeDOMException
NamedNodeMap
public Node setNamedItem(Node arg) throws DOMException
setNamedItem
in interface NamedNodeMap
A
- node to store in this mapDOMException
public Node setNamedItemNS(Node arg) throws DOMException
setNamedItemNS
in interface NamedNodeMap
A
- node to store in this mapDOMException
Copyright © 2019 JBoss by Red Hat. All rights reserved.