com.sun.msv.grammar.trex
public class TREXGrammar extends ReferenceExp implements Grammar
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.
this is a map from pattern name to RefPattern object |
| ExpressionPool | pool ExpressionPool that is associated with this grammar |
| Constructor Summary | |
|---|---|
| TREXGrammar(ExpressionPool pool, TREXGrammar parentGrammar) | |
| TREXGrammar(ExpressionPool pool) | |
| TREXGrammar() | |
| Method Summary | |
|---|---|
| TREXGrammar | getParentGrammar()
gets a parent TREXGrammar.
|
| ExpressionPool | getPool() |
| Expression | getTopLevel() gets the start pattern.
|
Parameters: parentGrammar this object is used to resolve <ref> element with parent attribute.