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

Field Summary
 Map moduleMap
          map from namespace URI to IslandSchema.
 ExpressionPool pool
          expression pool that was used to create these objects
 Expression topLevel
          top-level expression
 
Constructor Summary
RELAXGrammar(ExpressionPool pool)
           
 
Method Summary
 ExpressionPool getPool()
          gets ExpressionPool object which was used to construct this grammar.
 Expression getTopLevel()
          gets top-level expression.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
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 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