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 addChild(Node node) throws NodeException
NodeException
void removeChild(Node node) throws NodeException
NodeException
List<Node> getChildren()
void setChildren(List<Node> children) throws NodeException
NodeException
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()
void removeDescendants() throws NodeException
NodeException
List<Node> getDescendants()
void collectDescendants(List<Node> nodes)
Copyright © 2015 Nuxeo SA. All rights reserved.