|
||||||||||
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. |
org.w3c.dom.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 org.w3c.dom.Node item(int index)
NodeList.item(int)
.item
in interface org.w3c.dom.NodeList
public int getLength()
NodeList.getLength()
.getLength
in interface org.w3c.dom.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 |