com.sun.msv.relaxns.grammar
Class RELAXGrammar
java.lang.Object
|
+--com.sun.msv.relaxns.grammar.RELAXGrammar
- All Implemented Interfaces:
- Grammar, Serializable
- public class RELAXGrammar
- extends Object
- implements Grammar
"Grammar" of RELAX Namespace.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
moduleMap
public final Map moduleMap
- map from namespace URI to IslandSchema.
All modules are stored in this map.
- See Also:
IslandSchema
topLevel
public Expression topLevel
- top-level expression
pool
public final ExpressionPool pool
- expression pool that was used to create these objects
RELAXGrammar
public RELAXGrammar(ExpressionPool pool)
getTopLevel
public Expression getTopLevel()
- Description copied from interface:
Grammar
- gets top-level expression.
This expression shall be the constraint over the document element.
Never return null.
- Specified by:
getTopLevel
in interface Grammar
getPool
public ExpressionPool getPool()
- Description copied from interface:
Grammar
- gets ExpressionPool object which was used to construct this grammar.
Never return null.
- Specified by:
getPool
in interface Grammar