|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.msv.grammar.util.ExpressionPrinter
creates a string representation of the expression. useful for debug and dump.
| Field Summary | |
static int |
CONTENTMODEL
in this mode, element declaration is one of the terminal symbol of stringnization. |
static ExpressionPrinter |
contentModelInstance
|
static int |
FRAGMENT
in this mode, reference to other expression is one of the terminal symbol of stringnization. |
static ExpressionPrinter |
fragmentInstance
|
static ExpressionPrinter |
smallestInstance
|
| Method Summary | |
java.lang.Object |
onAnyString()
|
java.lang.Object |
onAttribute(AttributeExp exp)
|
java.lang.Object |
onChoice(ChoiceExp exp)
|
java.lang.Object |
onConcur(ConcurExp exp)
|
java.lang.Object |
onData(DataExp exp)
|
java.lang.Object |
onElement(ElementExp exp)
|
java.lang.Object |
onEpsilon()
|
java.lang.Object |
onInterleave(InterleaveExp exp)
|
java.lang.Object |
onList(ListExp exp)
|
java.lang.Object |
onMixed(MixedExp exp)
|
java.lang.Object |
onNullSet()
|
java.lang.Object |
onOneOrMore(OneOrMoreExp exp)
|
java.lang.Object |
onOther(OtherExp exp)
|
java.lang.Object |
onRef(ReferenceExp exp)
|
java.lang.Object |
onSequence(SequenceExp exp)
|
java.lang.Object |
onValue(ValueExp exp)
|
static java.lang.String |
printContentModel(Expression exp)
|
static java.lang.String |
printFragment(Expression exp)
|
java.lang.String |
printRefContainer(ReferenceContainer cont)
dumps all the contents of ReferenceContainer. |
static java.lang.String |
printSmallest(Expression exp)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FRAGMENT
public static final int CONTENTMODEL
public static ExpressionPrinter fragmentInstance
public static ExpressionPrinter contentModelInstance
public static ExpressionPrinter smallestInstance
| Method Detail |
public static java.lang.String printFragment(Expression exp)
public static java.lang.String printContentModel(Expression exp)
public static java.lang.String printSmallest(Expression exp)
public java.lang.String printRefContainer(ReferenceContainer cont)
public java.lang.Object onAttribute(AttributeExp exp)
onAttribute in interface ExpressionVisitorpublic java.lang.Object onChoice(ChoiceExp exp)
onChoice in interface ExpressionVisitorpublic java.lang.Object onConcur(ConcurExp exp)
onConcur in interface ExpressionVisitorpublic java.lang.Object onInterleave(InterleaveExp exp)
onInterleave in interface ExpressionVisitorpublic java.lang.Object onElement(ElementExp exp)
onElement in interface ExpressionVisitorpublic java.lang.Object onOneOrMore(OneOrMoreExp exp)
onOneOrMore in interface ExpressionVisitorpublic java.lang.Object onMixed(MixedExp exp)
onMixed in interface ExpressionVisitorpublic java.lang.Object onList(ListExp exp)
onList in interface ExpressionVisitorpublic java.lang.Object onEpsilon()
onEpsilon in interface ExpressionVisitorpublic java.lang.Object onNullSet()
onNullSet in interface ExpressionVisitorpublic java.lang.Object onAnyString()
onAnyString in interface ExpressionVisitorpublic java.lang.Object onSequence(SequenceExp exp)
onSequence in interface ExpressionVisitorpublic java.lang.Object onData(DataExp exp)
onData in interface ExpressionVisitorpublic java.lang.Object onValue(ValueExp exp)
onValue in interface ExpressionVisitorpublic java.lang.Object onOther(OtherExp exp)
onOther in interface ExpressionVisitorpublic java.lang.Object onRef(ReferenceExp exp)
onRef in interface ExpressionVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||