com.sun.msv.grammar.util
public class ExpressionPrinter extends Object implements ExpressionVisitor
Field Summary | |
---|---|
static ExpressionPrinter | contentModelInstance |
static int | CONTENTMODEL in this mode, element declaration is
one of the terminal symbol of stringnization.
|
static ExpressionPrinter | fragmentInstance |
static int | FRAGMENT in this mode, reference to other expression is
one of the terminal symbol of stringnization.
|
static ExpressionPrinter | smallestInstance |
Method Summary | |
---|---|
Object | onAnyString() |
Object | onAttribute(AttributeExp exp) |
Object | onChoice(ChoiceExp exp) |
Object | onConcur(ConcurExp exp) |
Object | onData(DataExp exp) |
Object | onElement(ElementExp exp) |
Object | onEpsilon() |
Object | onInterleave(InterleaveExp exp) |
Object | onList(ListExp exp) |
Object | onMixed(MixedExp exp) |
Object | onNullSet() |
Object | onOneOrMore(OneOrMoreExp exp) |
Object | onOther(OtherExp exp) |
Object | onRef(ReferenceExp exp) |
Object | onSequence(SequenceExp exp) |
Object | onValue(ValueExp exp) |
static String | printContentModel(Expression exp) |
static String | printFragment(Expression exp) |
String | printRefContainer(ReferenceContainer cont) dumps all the contents of ReferenceContainer.
this method is a useful piece to dump the entire grammar. |
static String | printSmallest(Expression exp) |