|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.msv.grammar.Expression
com.sun.msv.grammar.ReferenceExp
com.sun.msv.grammar.trex.TREXGrammar
TREX grammar, which is expressed as <grammar> element.
The exp field keeps the start pattern.
| Nested Class Summary | |
static class |
TREXGrammar.RefContainer
|
| Field Summary | |
DataTypeVocabularyMap |
dataTypes
data type vocabularies used and defined by this grammar. |
TREXGrammar.RefContainer |
namedPatterns
named patterns which are defined by using <define> element. |
ExpressionPool |
pool
ExpressionPool that is associated with this grammar |
| Fields inherited from class com.sun.msv.grammar.ReferenceExp |
exp, name |
| Fields inherited from class com.sun.msv.grammar.Expression |
anyString, epsilon, nullSet, verifierTag |
| Constructor Summary | |
TREXGrammar()
|
|
TREXGrammar(ExpressionPool pool)
|
|
TREXGrammar(ExpressionPool pool,
TREXGrammar parentGrammar)
|
|
| Method Summary | |
TREXGrammar |
getParentGrammar()
gets a parent TREXGrammar. |
ExpressionPool |
getPool()
gets ExpressionPool object which was used to construct this grammar. |
Expression |
getTopLevel()
gets the start pattern. |
| Methods inherited from class com.sun.msv.grammar.ReferenceExp |
equals, isDefined, visit, visit, visit, visit |
| Methods inherited from class com.sun.msv.grammar.Expression |
getExpandedExp, hashCode, isEpsilonReducible, peelOccurence, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final TREXGrammar.RefContainer namedPatterns
public final ExpressionPool pool
public final DataTypeVocabularyMap dataTypes
| Constructor Detail |
public TREXGrammar(ExpressionPool pool,
TREXGrammar parentGrammar)
parentGrammar - this object is used to resolve <ref> element with parent
attribute.public TREXGrammar(ExpressionPool pool)
public TREXGrammar()
| Method Detail |
public Expression getTopLevel()
getTopLevel in interface Grammarpublic ExpressionPool getPool()
Grammar
getPool in interface Grammarpublic final TREXGrammar getParentGrammar()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||