|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.dom.AttributeMap
public class AttributeMap
Most of the implementation is taken from org.apache.xerces.dom.NamedNodeMapImpl
| Method Summary | |
|---|---|
protected int |
addItem(org.w3c.dom.Node arg)
|
protected java.util.Vector |
cloneMap(java.util.Vector list)
NON-DOM: copy content of this map into the specified vector |
protected int |
findNamePoint(java.lang.String name,
int start)
From org.apache.xerces.dom.NamedNodeMapImpl Subroutine: Locates the named item, or the point at which said item should be added. |
protected int |
findNamePoint(java.lang.String namespaceURI,
java.lang.String name)
This findNamePoint is for DOM Level 2 Namespaces. |
protected java.lang.Object |
getItem(int index)
|
int |
getLength()
From org.apache.xerces.dom.NamedNodeMapImpl |
org.w3c.dom.Node |
getNamedItem(java.lang.String name)
|
protected int |
getNamedItemIndex(java.lang.String namespaceURI,
java.lang.String localName)
|
org.w3c.dom.Node |
getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Introduced in DOM Level 2. |
org.w3c.dom.Node |
item(int index)
From org.apache.xerces.dom.NamedNodeMapImpl |
protected boolean |
precedes(org.w3c.dom.Node a,
org.w3c.dom.Node b)
|
void |
removeAll()
NON-DOM remove all elements from this map. |
protected void |
removeItem(int index)
NON-DOM: Remove attribute at specified index. |
org.w3c.dom.Node |
removeNamedItem(java.lang.String name)
|
org.w3c.dom.Node |
removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String name)
|
org.w3c.dom.Node |
setNamedItem(org.w3c.dom.Node attribute)
Almost a copy of the Xerces impl. |
org.w3c.dom.Node |
setNamedItemNS(org.w3c.dom.Node attribute)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 namespaceURI,
java.lang.String localName)
getNamedItemNS in interface org.w3c.dom.NamedNodeMapnamespaceURI - The namespace URI of the node to retrieve. When it is null or an empty
string, this method behaves like getNamedItem.localName - The local name of the node to retrieve.
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 removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String name)
throws org.w3c.dom.DOMException
removeNamedItemNS in interface org.w3c.dom.NamedNodeMaporg.w3c.dom.DOMException
public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node attribute)
throws org.w3c.dom.DOMException
setNamedItem in interface org.w3c.dom.NamedNodeMaporg.w3c.dom.DOMException
public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node attribute)
throws org.w3c.dom.DOMException
setNamedItemNS in interface org.w3c.dom.NamedNodeMaporg.w3c.dom.DOMException
protected int findNamePoint(java.lang.String name,
int start)
name - Name of a node to look up.
protected int findNamePoint(java.lang.String namespaceURI,
java.lang.String name)
protected boolean precedes(org.w3c.dom.Node a,
org.w3c.dom.Node b)
protected void removeItem(int index)
protected java.lang.Object getItem(int index)
protected int addItem(org.w3c.dom.Node arg)
protected java.util.Vector cloneMap(java.util.Vector list)
list - Vector to copy information into.
protected int getNamedItemIndex(java.lang.String namespaceURI,
java.lang.String localName)
public void removeAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||