|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.xml.NodeListImpl
This class implements NodeList
and adds
a new Node
object to
the NodeList
object.
Constructor Summary |
|
NodeListImpl()
Generates an empty |
|
NodeListImpl(int size)
Generates a |
Method Summary |
|
void |
add(org.w3c.dom.Node node)
Adds a |
int |
getLength()
Returns the number of nodes stored in |
org.w3c.dom.Node |
item(int index)
Returns the item in the position specified by index. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeListImpl()
NodeListImpl
object.public NodeListImpl(int size)
NodeListImpl
object and intializes the number
of Node
objects to store in it to size.
Parameters
size | The number of |
Method Detail |
public void add(org.w3c.dom.Node node)
Node
object to this NodeListImpl
instance.
Parameters
node | A |
public org.w3c.dom.Node item(int index)
null
.item
in interface org.w3c.dom.NodeList
Parameters
index | The position in the collection. |
Returns
null
if
index is not valid.public int getLength()
NodeListImpl
instance.
getLength
in interface org.w3c.dom.NodeList
Returns
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |