com.beasys.commerce.util.dom
Class NodeListImpl
java.lang.Object
|
+--com.beasys.commerce.util.dom.DOMBase
|
+--com.beasys.commerce.util.dom.NodeListImpl
- public class NodeListImpl
- extends DOMBase
- implements org.w3c.dom.NodeList
An implementation of the W3C's DOM NodeList object.
This implementation uses a Vector of nodes.
- See Also:
- Serialized Form
Constructor Summary |
NodeListImpl(org.w3c.dom.Document owner)
Constructor. |
Method Summary |
java.lang.Object |
clone()
Make a shallow copy of this list. |
int |
getLength()
Get the number of nodes in this list. |
java.util.Vector |
getNodes()
Get the list of nodes. |
org.w3c.dom.Node |
item(int index)
Return the node at the given index. |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NodeListImpl
public NodeListImpl(org.w3c.dom.Document owner)
- Constructor.
clone
public java.lang.Object clone()
- Make a shallow copy of this list.
- Overrides:
- clone in class java.lang.Object
getNodes
public java.util.Vector getNodes()
- Get the list of nodes.
getLength
public int getLength()
- Get the number of nodes in this list.
- Specified by:
- getLength in interface org.w3c.dom.NodeList
item
public org.w3c.dom.Node item(int index)
- Return the node at the given index.
- Specified by:
- item in interface org.w3c.dom.NodeList
Copyright © 2000 BEA Systems, Inc. All Rights Reserved