|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xpath.dtm.DTMProxyMap
**For internal use only**
DTMProxyMap is a quickie (as opposed to quick) implementation of the DOM's
NamedNodeMap interface, intended to support DTMProxy's getAttributes()
call.
***** Note: this does _not_ current attempt to cache any of the data;
if you ask for attribute 27 and then 28, you'll have to rescan the first
27. It should probably at least keep track of the last one retrieved,
and possibly buffer the whole array.
***** Also note that there's no fastpath for the by-name query; we search
linearly until we find it or fail to find it. Again, that could be
optimized at some cost in object creation/storage.
Method Summary | |
int |
getLength()
**For internal use only** Return the number of Attributes on this Element |
org.w3c.dom.Node |
getNamedItem(java.lang.String name)
**For internal use only** Return the Attr node having a specific name |
org.w3c.dom.Node |
getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
**For internal use only** Retrieve a node specified by local name and namespace URI -- DOMLevel 2 |
org.w3c.dom.Node |
item(int i)
**For internal use only** Return the i'th Attr node bound to this element |
org.w3c.dom.Node |
removeNamedItem(java.lang.String name)
**For internal use only** DOM API requires this, but DTM is a read-only model |
org.w3c.dom.Node |
removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
**For internal use only** DOM 2 API requires this, but DTM is a read-only model |
org.w3c.dom.Node |
setNamedItem(org.w3c.dom.Node newNode)
**For internal use only** DOM API requires this, but DTM is a read-only model |
org.w3c.dom.Node |
setNamedItemNS(org.w3c.dom.Node arg)
**For internal use only** DOM 2 API requires this, but DTM is a read-only model |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public int getLength()
public org.w3c.dom.Node getNamedItem(java.lang.String name)
public org.w3c.dom.Node item(int i)
public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node newNode)
public org.w3c.dom.Node removeNamedItem(java.lang.String name)
public org.w3c.dom.Node getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg) throws org.w3c.dom.DOMException
public org.w3c.dom.Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName) throws org.w3c.dom.DOMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |