|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.dom.AbstractParentNode.ChildNodes
To manage the children of this node.
Field Summary | |
protected int |
children
The number of children. |
protected ExtendedNode |
firstChild
The first child. |
protected ExtendedNode |
lastChild
The last child. |
Constructor Summary | |
AbstractParentNode.ChildNodes()
Creates a new ChildNodes object. |
Method Summary | |
ExtendedNode |
append(ExtendedNode n)
Appends a node to the tree. |
int |
getLength()
DOM: Implements NodeList.getLength() . |
ExtendedNode |
insert(ExtendedNode n,
ExtendedNode r)
Inserts a node in the tree. |
Node |
item(int index)
DOM: Implements NodeList.item(int) . |
ExtendedNode |
remove(ExtendedNode n)
Removes the given node from the tree. |
ExtendedNode |
replace(ExtendedNode n,
ExtendedNode o)
Replaces a node in the tree by an other. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ExtendedNode firstChild
protected ExtendedNode lastChild
protected int children
Constructor Detail |
public AbstractParentNode.ChildNodes()
Method Detail |
public Node item(int index)
NodeList.item(int)
.item
in interface NodeList
org.w3c.dom.NodeList
indexIndex
- into the collection.index
th position in the
NodeList
, or null
if that is not a valid
index.public int getLength()
NodeList.getLength()
.getLength
in interface NodeList
children
.public ExtendedNode append(ExtendedNode n)
public ExtendedNode insert(ExtendedNode n, ExtendedNode r)
public ExtendedNode replace(ExtendedNode n, ExtendedNode o)
public ExtendedNode remove(ExtendedNode n)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |