Class RELAXModule

  • All Implemented Interfaces:
    Grammar, java.io.Serializable

    public class RELAXModule
    extends java.lang.Object
    implements Grammar
    "Module" of RELAX Core.
    See Also:
    Serialized Form
    • Constructor Detail

      • RELAXModule

        public RELAXModule​(ExpressionPool pool,
                           java.lang.String targetNamespace)
    • 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