Container¶
-
public class
Containerextends MetaContent implements ContentNode¶
Constructors¶
Methods¶
getChildren¶
-
public List<MetaContent>
getChildren()¶
getCountAncestorsContainer¶
-
public int
getCountAncestorsContainer(Container content)¶ This function calculates the number of ancestors type content of a node. Attention, the node counts himself as his ancestor. For example if you calculate the ancestors of content from itself, the result is 1.
Paramètres: - content – root content
Retourne: number of container-type ancestors
getCountDescendantContainer¶
-
public int
getCountDescendantContainer()¶ This function calculates the number of container-type descendants of the node.
Retourne: number of container-type descendants
isMoveableIn¶
-
public boolean
isMoveableIn(ContentNode receiver, Content root)¶
setChildren¶
-
public void
setChildren(List<MetaContent> children)¶