@OpenApiAll
public interface Node
Modifier and Type | Method and Description |
---|---|
void |
appendChild(Node e)
Adds the node newChild to the end of the list of children of this node.
|
java.util.Collection<Node> |
getChildNodes()
Return a child.
|
Node |
getParentNode()
Return the parent of this node.
|
void |
insertBefore(Node newChild,
int index)
Inserts the node newChild before the child index.
|
Node |
removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
|
void |
setParentNode(Node e)
Set a parent of this node.
|
void setParentNode(Node e)
e
- a node.Node getParentNode()
void appendChild(Node e)
e
- a child elementjava.util.Collection<Node> getChildNodes()
void insertBefore(Node newChild, int index)
newChild
- the node to insertindex
- the reference child indexCopyright © 2010 - No Magic Asia