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