Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.msv.grammar
Interface Grammar

All Superinterfaces:
  java.io.Serializable

All Known Implementing Classes:
  RELAXGrammar, RELAXModule, TREXGrammar, XMLSchemaGrammar

public interface Grammar
extends java.io.Serializable

base interface of the "grammar". This interface characterizes very basic part of grammar.

Author:
  Kohsuke KAWAGUCHI

Method Summary
`ExpressionPool` | `getPool()` gets ExpressionPool object which was used to construct this grammar.
`Expression` | `getTopLevel()` gets top-level expression.

Method Detail

### getTopLevel

    public Expression getTopLevel()

  gets top-level expression. This expression shall be the constraint over the document element. Never return null.

### getPool

    public ExpressionPool getPool()

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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD