Package com.sun.msv.relaxns.grammar
Class RELAXGrammar
- java.lang.Object
-
- com.sun.msv.relaxns.grammar.RELAXGrammar
-
- All Implemented Interfaces:
Grammar
,java.io.Serializable
public class RELAXGrammar extends java.lang.Object implements Grammar
"Grammar" of RELAX Namespace.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Map
moduleMap
map from namespace URI to IslandSchema.ExpressionPool
pool
expression pool that was used to create these objectsExpression
topLevel
top-level expression
-
Constructor Summary
Constructors Constructor Description RELAXGrammar(ExpressionPool pool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionPool
getPool()
gets ExpressionPool object which was used to construct this grammar.Expression
getTopLevel()
gets top-level expression.
-
-
-
Field Detail
-
moduleMap
public final java.util.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
-
-
Constructor Detail
-
RELAXGrammar
public RELAXGrammar(ExpressionPool pool)
-
-
Method Detail
-
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 interfaceGrammar
-
getPool
public ExpressionPool getPool()
Description copied from interface:Grammar
gets ExpressionPool object which was used to construct this grammar. Never return null.
-
-