org.nuxeo.theme.nodes
Class AbstractNode
java.lang.Object
org.nuxeo.theme.nodes.AbstractNode
- All Implemented Interfaces:
- Node
- Direct Known Subclasses:
- AbstractElement
public abstract class AbstractNode
- extends Object
- implements Node
AbstractNode
public AbstractNode()
clearParent
public void clearParent()
- Specified by:
clearParent
in interface Node
setParent
public void setParent(Node parent)
throws NodeException
- Specified by:
setParent
in interface Node
- Throws:
NodeException
getParent
public Node getParent()
- Specified by:
getParent
in interface Node
addChild
public Node addChild(Node node)
throws NodeException
- Specified by:
addChild
in interface Node
- Throws:
NodeException
removeChild
public void removeChild(Node node)
throws NodeException
- Specified by:
removeChild
in interface Node
- Throws:
NodeException
getChildren
public List<Node> getChildren()
- Specified by:
getChildren
in interface Node
setChildren
public void setChildren(List<Node> children)
throws NodeException
- Specified by:
setChildren
in interface Node
- Throws:
NodeException
getNodeTypeFamily
public abstract NodeTypeFamily getNodeTypeFamily()
- Specified by:
getNodeTypeFamily
in interface Node
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interface Node
getOrder
public Integer getOrder()
- Specified by:
getOrder
in interface Node
setOrder
public void setOrder(Integer order)
throws NodeException
- Specified by:
setOrder
in interface Node
- Throws:
NodeException
moveTo
public void moveTo(Node container,
Integer order)
throws NodeException
- Specified by:
moveTo
in interface Node
- Throws:
NodeException
insertAfter
public void insertAfter(Node node)
throws NodeException
- Specified by:
insertAfter
in interface Node
- Throws:
NodeException
hasSiblings
public boolean hasSiblings()
- Specified by:
hasSiblings
in interface Node
getNextNode
public Node getNextNode()
- Specified by:
getNextNode
in interface Node
getPreviousNode
public Node getPreviousNode()
- Specified by:
getPreviousNode
in interface Node
hasChildren
public boolean hasChildren()
- Specified by:
hasChildren
in interface Node
isChildOf
public boolean isChildOf(Node node)
- Specified by:
isChildOf
in interface Node
removeDescendants
public void removeDescendants()
throws NodeException
- Specified by:
removeDescendants
in interface Node
- Throws:
NodeException
getDescendants
public List<Node> getDescendants()
- Specified by:
getDescendants
in interface Node
collectDescendants
public void collectDescendants(List<Node> nodes)
- Specified by:
collectDescendants
in interface Node
Copyright © 2011 Nuxeo SAS. All Rights Reserved.