|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xalan.xpath.dtm.DTMProxyMap
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.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Method Summary | |
int |
getLength()
Return the number of Attributes on this Element |
org.w3c.dom.Node |
getNamedItem(java.lang.String name)
Return the Attr node having a specific name |
org.w3c.dom.Node |
getNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
Retrieve a node specified by local name and namespace URI -- DOMLevel 2 |
org.w3c.dom.Node |
item(int i)
Return the i'th Attr node bound to this element |
org.w3c.dom.Node |
removeNamedItem(java.lang.String name)
DOM API requires this, but DTM is a read-only model |
org.w3c.dom.Node |
removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String localName)
DOM 2 API requires this, but DTM is a read-only model |
org.w3c.dom.Node |
setNamedItem(org.w3c.dom.Node newNode)
DOM API requires this, but DTM is a read-only model |
org.w3c.dom.Node |
setNamedItemNS(org.w3c.dom.Node arg)
DOM 2 API requires this, but DTM is a read-only model |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
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
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |