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 Details

    • ChildrenProperties

      public ChildrenProperties()
  • Method Details

    • addChildHierarchy

      public void addChildHierarchy(List<String> tags)
    • 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.