| Modifier and Type | Field and Description |
|---|---|
| public static final int | CONTENTMODEL
in this mode, element declaration is one of the terminal symbol of stringnization. |
| public static final ExpressionPrinter | |
| public static final int | FRAGMENT
in this mode, reference to other expression is one of the terminal symbol of stringnization. |
| public static final ExpressionPrinter | |
| protected final int | mode
this flag controls how expression will be stringnized |
| public static final ExpressionPrinter |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected static boolean | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| public Object | |
| private Object | |
| protected String | |
| public static String | |
| public static String | |
| public String | |
| public static String |
| CONTENTMODEL | back to summary |
|---|---|
| public static final int CONTENTMODEL in this mode, element declaration is one of the terminal symbol of stringnization. Suitable to dump the content model of element declarations. | |
| contentModelInstance | back to summary |
|---|---|
| public static final ExpressionPrinter contentModelInstance | |
| FRAGMENT | back to summary |
|---|---|
| public static final int FRAGMENT in this mode, reference to other expression is one of the terminal symbol of stringnization. Suitable to dump the entire grammar | |
| fragmentInstance | back to summary |
|---|---|
| public static final ExpressionPrinter fragmentInstance | |
| mode | back to summary |
|---|---|
| protected final int mode this flag controls how expression will be stringnized | |
| smallestInstance | back to summary |
|---|---|
| public static final ExpressionPrinter smallestInstance | |
| ExpressionPrinter | back to summary |
|---|---|
| protected ExpressionPrinter(int mode) | |
| isComplex | back to summary |
|---|---|
| protected static boolean isComplex(Expression exp) determines whether brackets should be used to represent the pattern | |
| onAnyString | back to summary |
|---|---|
| public Object onAnyString() Implements com. | |
| onAttribute | back to summary |
|---|---|
| public Object onAttribute(AttributeExp exp) Implements com. | |
| onChoice | back to summary |
|---|---|
| public Object onChoice(ChoiceExp exp) Implements com. | |
| onConcur | back to summary |
|---|---|
| public Object onConcur(ConcurExp exp) Implements com. | |
| onData | back to summary |
|---|---|
| public Object onData(DataExp exp) Implements com. | |
| onElement | back to summary |
|---|---|
| public Object onElement(ElementExp exp) Implements com. | |
| onEpsilon | back to summary |
|---|---|
| public Object onEpsilon() Implements com. | |
| onInterleave | back to summary |
|---|---|
| public Object onInterleave(InterleaveExp exp) Implements com. | |
| onList | back to summary |
|---|---|
| public Object onList(ListExp exp) Implements com. | |
| onMixed | back to summary |
|---|---|
| public Object onMixed(MixedExp exp) Implements com. | |
| onNullSet | back to summary |
|---|---|
| public Object onNullSet() Implements com. | |
| onOneOrMore | back to summary |
|---|---|
| public Object onOneOrMore(OneOrMoreExp exp) Implements com. | |
| onOther | back to summary |
|---|---|
| public Object onOther(OtherExp exp) Implements com. | |
| onRef | back to summary |
|---|---|
| public Object onRef(ReferenceExp exp) Implements com. | |
| onSequence | back to summary |
|---|---|
| public Object onSequence(SequenceExp exp) Implements com. | |
| onValue | back to summary |
|---|---|
| public Object onValue(ValueExp exp) Implements com. | |
| optional | back to summary |
|---|---|
| private Object optional(Expression exp) | |
| printBinary | back to summary |
|---|---|
| protected String printBinary(BinaryExp exp, String op) | |
| printContentModel | back to summary |
|---|---|
| public static String printContentModel(Expression exp) | |
| printFragment | back to summary |
|---|---|
| public static String printFragment(Expression exp) | |
| printRefContainer | back to summary |
|---|---|
| public String printRefContainer(ReferenceContainer cont) dumps all the contents of ReferenceContainer. this method is a useful piece to dump the entire grammar. | |
| printSmallest | back to summary |
|---|---|
| public static String printSmallest(Expression exp) | |