org.apache.batik.dom
protected class AbstractParentNode.ChildNodes extends Object implements NodeList, Serializable
| 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 | |
|---|---|
| ChildNodes()
Creates a new ChildNodes object. | |
| Method Summary | |
|---|---|
| ExtendedNode | append(ExtendedNode n)
Appends a node to the tree.
|
| int | getLength()
DOM: Implements org.w3c.dom.NodeList#getLength(). |
| ExtendedNode | insert(ExtendedNode n, ExtendedNode r)
Inserts a node in the tree. |
| Node | item(int index)
DOM: Implements org.w3c.dom.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. |
Returns: children.