public class ElementDeclCollector extends ExpressionWalker
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set |
attributes |
private java.util.Set |
elements |
| Modifier | Constructor and Description |
|---|---|
private |
ElementDeclCollector() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set[] |
collect(Expression exp)
collects all element and attribute declarations.
|
void |
onAttribute(AttributeExp exp) |
void |
onConcur(ConcurExp exp) |
void |
onElement(ElementExp exp) |
onAnyString, onBinExp, onChoice, onData, onEpsilon, onInterleave, onList, onMixed, onNullSet, onOneOrMore, onOther, onRef, onSequence, onValueprivate final java.util.Set elements
private final java.util.Set attributes
public void onConcur(ConcurExp exp)
onConcur in interface ExpressionVisitorVoidonConcur in class ExpressionWalkerpublic void onElement(ElementExp exp)
onElement in interface ExpressionVisitorVoidonElement in class ExpressionWalkerpublic void onAttribute(AttributeExp exp)
onAttribute in interface ExpressionVisitorVoidonAttribute in class ExpressionWalkerpublic static java.util.Set[] collect(Expression exp)