DTMNodeList
gives us an implementation of the DOM's
NodeList interface wrapped around a DTM Iterator. The author
considers this something of an abominations, since NodeList was not
intended to be a general purpose "list of nodes" API and is
generally considered by the DOM WG to have be a mistake... but I'm
told that some of the XPath/XSLT folks say they must have this
solution.
Please note that this is not necessarily equivlaent to a DOM
NodeList operating over the same document. In particular:
State: In progress!!
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public int | |
public Node | Returns: The node at theindex th position in the
NodeList , or null if that is not a valid
index.Index into the collection. index)Implements org. Returns the |
DTMNodeListBase | back to summary |
---|---|
public DTMNodeListBase() |
getLength | back to summary |
---|---|
public int getLength() Implements org. The number of nodes in the list. The range of valid child node indices
is 0 to |
item | back to summary |
---|---|
public Node item(int index) Implements org. Returns the
|