|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.beandocument.BeanNamedNodeMap
Map implementation of NamedNodeMap for bean documents
Constructor Summary | |
protected |
BeanNamedNodeMap()
Default Constructor for a new Named Node Map |
Method Summary | |
protected void |
add(java.lang.String name,
org.w3c.dom.Node node)
Adds a node to the named node map |
int |
getLength()
Retrieves the length of the nodes in the map |
org.w3c.dom.Node |
getNamedItem(java.lang.String name)
Retrieves the named item from the map. |
org.w3c.dom.Node |
getNamedItemNS(java.lang.String namespace,
java.lang.String name)
Retrieves the named item from the map. |
org.w3c.dom.Node |
item(int index)
Retrieves the n'th element from the map |
org.w3c.dom.Node |
removeNamedItem(java.lang.String name)
Removes the named items from the map. |
org.w3c.dom.Node |
removeNamedItemNS(java.lang.String namespace,
java.lang.String name)
Removes the named items from the map. |
org.w3c.dom.Node |
setNamedItem(org.w3c.dom.Node item)
Sets a named item in the map. |
org.w3c.dom.Node |
setNamedItemNS(org.w3c.dom.Node item)
Sets a named item in the map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected BeanNamedNodeMap()
Method Detail |
protected void add(java.lang.String name, org.w3c.dom.Node node)
name
- Name of the node to referencenode
- Node instance to addpublic int getLength()
getLength
in interface org.w3c.dom.NamedNodeMap
NamedNodeMap.getLength()
public org.w3c.dom.Node getNamedItem(java.lang.String name)
getNamedItem
in interface org.w3c.dom.NamedNodeMap
name
- Name if the item to retrieve
NamedNodeMap.getNamedItem(java.lang.String)
public org.w3c.dom.Node getNamedItemNS(java.lang.String namespace, java.lang.String name)
getNamedItemNS
in interface org.w3c.dom.NamedNodeMap
namespace
- Namespace to usename
- Name if the item to retrieve
NamedNodeMap.getNamedItemNS(java.lang.String, java.lang.String)
public org.w3c.dom.Node item(int index)
item
in interface org.w3c.dom.NamedNodeMap
index
- Item number to retrieve
NamedNodeMap.item(int)
public org.w3c.dom.Node removeNamedItem(java.lang.String name) throws org.w3c.dom.DOMException
removeNamedItem
in interface org.w3c.dom.NamedNodeMap
name
- Name of the item to remove
org.w3c.dom.DOMException
- (never)NamedNodeMap.removeNamedItem(java.lang.String)
public org.w3c.dom.Node removeNamedItemNS(java.lang.String namespace, java.lang.String name) throws org.w3c.dom.DOMException
removeNamedItemNS
in interface org.w3c.dom.NamedNodeMap
namespace
- Namespace to use, only null is supportedname
- Name of the item to remove
org.w3c.dom.DOMException
- (never)NamedNodeMap.removeNamedItemNS(java.lang.String, java.lang.String)
public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node item) throws org.w3c.dom.DOMException
setNamedItem
in interface org.w3c.dom.NamedNodeMap
item
- Item to set
org.w3c.dom.DOMException
- (never)NamedNodeMap.setNamedItem(org.w3c.dom.Node)
public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node item) throws org.w3c.dom.DOMException
setNamedItemNS
in interface org.w3c.dom.NamedNodeMap
item
- Item to set - ignored by this implementation
org.w3c.dom.DOMException
- If method is calledNamedNodeMap.setNamedItemNS(org.w3c.dom.Node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |