public abstract class SyntaxicScheme.AbstractElementGroup extends SyntaxicScheme.AbstractElement implements SyntaxicScheme.ElementGroup
Modifier and Type | Field and Description |
---|---|
protected boolean |
authorizeEmptyElements |
protected Collection<SyntaxicScheme.Element> |
elements |
Constructor and Description |
---|
AbstractElementGroup(boolean authorizeEmptyElements) |
Modifier and Type | Method and Description |
---|---|
void |
addElement(SyntaxicScheme.Element e) |
SyntaxicScheme.Element |
compress()
Checks if this group should be compressed or not and performs compression.
|
abstract boolean |
elementsAreUnique() |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isAuthorizeEmptyElements() |
boolean |
isEmpty() |
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
height, heightAbove, length, render
protected final Collection<SyntaxicScheme.Element> elements
protected final boolean authorizeEmptyElements
public void addElement(SyntaxicScheme.Element e)
addElement
in interface SyntaxicScheme.ElementGroup
public SyntaxicScheme.Element compress()
SyntaxicScheme.ElementGroup
compress
in interface SyntaxicScheme.ElementGroup
public boolean isEmpty()
isEmpty
in interface SyntaxicScheme.Element
public boolean isAuthorizeEmptyElements()
isAuthorizeEmptyElements
in interface SyntaxicScheme.ElementGroup
public abstract boolean elementsAreUnique()