|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.sun.msv.grammar.util.ExpressionWalker
com.sun.msv.generator.ElementDeclCollector
public class ElementDeclCollector
collects all distinct element declaration in the grammar. As a side effect, it also collects all distinct attribute declarations.
| Method Summary | |
|---|---|
static java.util.Set[] |
collect(com.sun.msv.grammar.Expression exp)
collects all element and attribute declarations. |
void |
onAttribute(com.sun.msv.grammar.AttributeExp exp)
|
void |
onConcur(com.sun.msv.grammar.ConcurExp exp)
|
void |
onElement(com.sun.msv.grammar.ElementExp exp)
|
| Methods inherited from class com.sun.msv.grammar.util.ExpressionWalker |
|---|
onAnyString, onBinExp, onChoice, onData, onEpsilon, onInterleave, onList, onMixed, onNullSet, onOneOrMore, onOther, onRef, onSequence, onValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void onConcur(com.sun.msv.grammar.ConcurExp exp)
onConcur in interface com.sun.msv.grammar.ExpressionVisitorVoidonConcur in class com.sun.msv.grammar.util.ExpressionWalkerpublic void onElement(com.sun.msv.grammar.ElementExp exp)
onElement in interface com.sun.msv.grammar.ExpressionVisitorVoidonElement in class com.sun.msv.grammar.util.ExpressionWalkerpublic void onAttribute(com.sun.msv.grammar.AttributeExp exp)
onAttribute in interface com.sun.msv.grammar.ExpressionVisitorVoidonAttribute in class com.sun.msv.grammar.util.ExpressionWalkerpublic static java.util.Set[] collect(com.sun.msv.grammar.Expression exp)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||