Package com.sun.msv.grammar
Interface Grammar
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
RELAXGrammar,RELAXModule,RELAXNGGrammar,TREXGrammar,XMLSchemaGrammar
public interface Grammar extends java.io.Serializablebase interface of the "grammar". This interface characterizes very basic part of grammar.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionPoolgetPool()gets ExpressionPool object which was used to construct this grammar.ExpressiongetTopLevel()gets top-level expression.
-
-
-
Method Detail
-
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.
-
-