public interface Node
Modifier and Type | Method and Description |
---|---|
Node |
addChild(Node node) |
void |
clearParent() |
void |
collectDescendants(List<Node> nodes) |
List<Node> |
getChildren() |
List<Node> |
getDescendants() |
Node |
getNextNode() |
NodeTypeFamily |
getNodeTypeFamily() |
Integer |
getOrder() |
Node |
getParent() |
Node |
getPreviousNode() |
boolean |
hasChildren() |
boolean |
hasSiblings() |
void |
insertAfter(Node node) |
boolean |
isChildOf(Node node) |
boolean |
isLeaf() |
void |
moveTo(Node container,
Integer order) |
void |
removeChild(Node node) |
void |
removeDescendants() |
void |
setChildren(List<Node> children) |
void |
setOrder(Integer order) |
void |
setParent(Node node) |
NodeTypeFamily getNodeTypeFamily()
void clearParent()
void setParent(Node node) throws NodeException
NodeException
Node getParent()
Node addChild(Node node) throws NodeException
NodeException
void removeChild(Node node) throws NodeException
NodeException
void setChildren(List<Node> children) throws NodeException
NodeException
Integer getOrder()
void setOrder(Integer order) throws NodeException
NodeException
void moveTo(Node container, Integer order) throws NodeException
NodeException
boolean isLeaf()
void insertAfter(Node node) throws NodeException
NodeException
boolean hasSiblings()
Node getNextNode()
Node getPreviousNode()
boolean hasChildren()
boolean isChildOf(Node node)
void removeDescendants() throws NodeException
NodeException
Copyright © 2013 Nuxeo SA. All Rights Reserved.