Class ContainerDeclaration
- java.lang.Object
-
- org.eclipse.lemminx.extensions.generators.ContainerDeclaration
-
- Direct Known Subclasses:
ElementDeclaration,Grammar
public class ContainerDeclaration extends Object
Children information.
-
-
Constructor Summary
Constructors Constructor Description ContainerDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddElement(ElementDeclaration element)ElementDeclarationgetElement(String name)Returns the element information for the given name and create it if not found.Collection<ElementDeclaration>getElements()Returns the elements information of the node.
-
-
-
Method Detail
-
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.
-
-