public class EntityReferenceTreeNode extends Object
EntityReferenceTree.| Modifier | Constructor and Description |
|---|---|
protected |
EntityReferenceTreeNode(Comparator<String> comparator) |
| Modifier and Type | Method and Description |
|---|---|
EntityReferenceTreeNode |
get(EntityReference path) |
EntityReferenceTreeNode |
get(String name)
Return the first found direct child with passed name.
|
Collection<EntityReferenceTreeNode> |
getChildren() |
Collection<EntityReferenceTreeNode> |
getChildren(EntityType type) |
Collection<EntityReferenceTreeNode> |
getChildren(String name) |
Collection<EntityReferenceTreeNode> |
getChildrenInternal(String name) |
Collection<EntityReference> |
getLocales() |
EntityReference |
getReference() |
String |
toString() |
protected EntityReferenceTreeNode(Comparator<String> comparator)
public EntityReference getReference()
public EntityReferenceTreeNode get(String name)
name - the name of the child nodepublic EntityReferenceTreeNode get(EntityReference path)
path - a path in the tree starting from this node, specified as an EntityReferencepublic Collection<EntityReferenceTreeNode> getChildren()
public Collection<EntityReferenceTreeNode> getChildren(String name)
name - the name of the children to returnpublic Collection<EntityReferenceTreeNode> getChildren(EntityType type)
type - the type of the children to returnEntityTypepublic Collection<EntityReferenceTreeNode> getChildrenInternal(String name)
name - the name of the children to returnpublic Collection<EntityReference> getLocales()
LocaleCopyright © 2004–2016 XWiki. All rights reserved.