|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.dom.DOMAttributeMap
class DOMAttributeMap
Implementation of DOM NamedNodeMap used to represent the attributes of an element, for use when Saxon element and attribute nodes are accessed using the DOM API.
Note that namespaces are treated as attributes.
| Constructor Summary | |
|---|---|
DOMAttributeMap(NodeInfo parent)
Construct an AttributeMap for a given element node |
|
| Method Summary | |
|---|---|
int |
getLength()
Get number of attributes and namespaces (DOM NamedNodeMap method). |
org.w3c.dom.Node |
getNamedItem(java.lang.String name)
Get named attribute (DOM NamedNodeMap method) |
org.w3c.dom.Node |
getNamedItemNS(java.lang.String uri,
java.lang.String localName)
Get named attribute (DOM NamedNodeMap method) |
org.w3c.dom.Node |
item(int index)
Get n'th attribute (DOM NamedNodeMap method). |
org.w3c.dom.Node |
removeNamedItem(java.lang.String name)
Remove named attribute (DOM NamedNodeMap method: always fails) |
org.w3c.dom.Node |
removeNamedItemNS(java.lang.String uri,
java.lang.String localName)
Remove named attribute (DOM NamedNodeMap method: always fails) |
org.w3c.dom.Node |
setNamedItem(org.w3c.dom.Node arg)
Set named attribute (DOM NamedNodeMap method: always fails) |
org.w3c.dom.Node |
setNamedItemNS(org.w3c.dom.Node arg)
Set named attribute (DOM NamedNodeMap method: always fails) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DOMAttributeMap(NodeInfo parent)
| Method Detail |
|---|
public org.w3c.dom.Node getNamedItem(java.lang.String name)
getNamedItem in interface org.w3c.dom.NamedNodeMappublic org.w3c.dom.Node item(int index)
item in interface org.w3c.dom.NamedNodeMappublic int getLength()
getLength in interface org.w3c.dom.NamedNodeMap
public org.w3c.dom.Node getNamedItemNS(java.lang.String uri,
java.lang.String localName)
getNamedItemNS in interface org.w3c.dom.NamedNodeMap
public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg)
throws org.w3c.dom.DOMException
setNamedItem in interface org.w3c.dom.NamedNodeMaporg.w3c.dom.DOMException
public org.w3c.dom.Node removeNamedItem(java.lang.String name)
throws org.w3c.dom.DOMException
removeNamedItem in interface org.w3c.dom.NamedNodeMaporg.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.NamedNodeMaporg.w3c.dom.DOMException
public org.w3c.dom.Node removeNamedItemNS(java.lang.String uri,
java.lang.String localName)
throws org.w3c.dom.DOMException
removeNamedItemNS in interface org.w3c.dom.NamedNodeMaporg.w3c.dom.DOMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||