public class EntityReferenceTree extends EntityReferenceTreeNode
Comparator. By default the
references will be sorted in default String order.
Only a set of references starting at same level is supported. For example you can pass the following lists:
wiki:space.page, wiki2:space2.page2]wiki:space.page, wiki:space]space.page, space]space.page, wiki:space].| Constructor and Description |
|---|
EntityReferenceTree(Comparator<String> comparator,
EntityReference... references) |
EntityReferenceTree(Comparator<String> comparator,
Iterable<? extends EntityReference> references) |
EntityReferenceTree(EntityReference... references) |
EntityReferenceTree(Iterable<? extends EntityReference> references) |
get, get, getChildren, getChildren, getChildren, getChildrenInternal, getLocales, getReference, toStringpublic EntityReferenceTree(Iterable<? extends EntityReference> references)
references - the references to fill the tree withpublic EntityReferenceTree(EntityReference... references)
references - the references to fill the tree withpublic EntityReferenceTree(Comparator<String> comparator, Iterable<? extends EntityReference> references)
comparator - control the order of references namesreferences - the references to fill the tree withpublic EntityReferenceTree(Comparator<String> comparator, EntityReference... references)
comparator - control the order of references namesreferences - the references to fill the tree withCopyright © 2004–2022 XWiki. All rights reserved.