|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.dom.AbstractParentNode.ChildNodes
protected class AbstractParentNode.ChildNodes
To manage the children of this node.
| Field Summary | |
|---|---|
protected int |
children
The number of children. |
protected int |
elementChildren
The number of Element 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
protected int elementChildren
| Constructor Detail |
|---|
public AbstractParentNode.ChildNodes()
| Method Detail |
|---|
public Node item(int index)
NodeList.item(int).
item in interface NodeListpublic int getLength()
NodeList.getLength().
getLength in interface NodeListchildren.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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||