Top Description Methods
com.sun.msv.grammar

public Interface Grammar

extends Serializable
Known Direct Implementers
com.sun.msv.grammar.relax.RELAXModule, com.sun.msv.grammar.trex.TREXGrammar, com.sun.msv.grammar.xmlschema.XMLSchemaGrammar, com.sun.msv.relaxns.grammar.RELAXGrammar

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

Method Summary

Modifier and TypeMethod and Description
public ExpressionPool
getPool()

gets ExpressionPool object which was used to construct this grammar.

public Expression
getTopLevel()

gets top-level expression.

Method Detail

getPoolback to summary
public ExpressionPool getPool()

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

getTopLevelback to summary
public Expression getTopLevel()

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