java.lang.Object
io.sf.carte.echosvg.dom.AbstractParentNode.ChildNodes
- All Implemented Interfaces:
Serializable,NodeList
- Enclosing class:
AbstractParentNode
To manage the children of this node.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe number of children.protected intThe number of Element children.protected ExtendedNodeThe first child.protected ExtendedNodeThe last child. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends a node to the tree.intDOM: ImplementsNodeList.getLength().insert(ExtendedNode n, ExtendedNode r) Inserts a node in the tree.item(int index) DOM: ImplementsNodeList.item(int).Removes the given node from the tree.replace(ExtendedNode n, ExtendedNode o) Replaces a node in the tree by an other.
-
Field Details
-
firstChild
The first child. -
lastChild
The last child. -
children
protected int childrenThe number of children. -
elementChildren
protected int elementChildrenThe number of Element children.
-
-
Constructor Details
-
ChildNodes
public ChildNodes()Creates a new ChildNodes object.
-
-
Method Details
-
item
DOM: ImplementsNodeList.item(int). -
getLength
public int getLength()DOM: ImplementsNodeList.getLength(). -
append
Appends a node to the tree. The node is assumed not to be a DocumentFragment instance. -
insert
Inserts a node in the tree. -
replace
Replaces a node in the tree by an other. -
remove
Removes the given node from the tree.
-