Class ChildrenProperties
- java.lang.Object
-
- org.eclipse.lemminx.extensions.generators.ChildrenProperties
-
public class ChildrenProperties extends Object
Children properties of an element declaration:- sequenced if all children have the same order.
- cardinalities for each child.
-
-
Constructor Summary
Constructors Constructor Description ChildrenProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildHierarchy(List<String> tags)Map<String,Cardinality>getCardinalities()Returns map which stores cardinality per tag.booleanisSequenced()Returns true if tags for each child hierarchy have the same order and false otherwise.
-
-
-
Method Detail
-
getCardinalities
public Map<String,Cardinality> getCardinalities()
Returns map which stores cardinality per tag.- Returns:
- map which stores cardinality per tag
-
isSequenced
public boolean isSequenced()
Returns true if tags for each child hierarchy have the same order and false otherwise.- Returns:
- true if tags for each child hierarchy have the same order and false otherwise.
-
-