Class ContainerDeclaration

java.lang.Object
org.eclipse.lemminx.extensions.generators.ContainerDeclaration
Direct Known Subclasses:
ElementDeclaration, Grammar

public class ContainerDeclaration extends Object
Children information.
  • Constructor Details

    • ContainerDeclaration

      public ContainerDeclaration()
  • Method Details

    • getElement

      public ElementDeclaration getElement(String name)
      Returns the element information for the given name and create it if not found.
      Parameters:
      name - the element name
      Returns:
      the element information for the given name and create it if not found.
    • addElement

      public void addElement(ElementDeclaration element)
    • getElements

      public Collection<ElementDeclaration> getElements()
      Returns the elements information of the node.
      Returns:
      the elements information of the node.