Interface Grammar

All Superinterfaces:
Serializable
All Known Implementing Classes:
RELAXGrammar, RELAXModule, RELAXNGGrammar, TREXGrammar, XMLSchemaGrammar

public interface Grammar extends Serializable
base interface of the "grammar". This interface characterizes very basic part of grammar.
  • Method Summary

    Modifier and Type
    Method
    Description
    gets ExpressionPool object which was used to construct this grammar.
    gets top-level expression.
  • Method Details

    • getTopLevel

      Expression getTopLevel()
      gets top-level expression. This expression shall be the constraint over the document element. Never return null.
    • getPool

      ExpressionPool getPool()
      gets ExpressionPool object which was used to construct this grammar. Never return null.