| org.apache.xerces.xni.grammars.XSGrammar
All known Subclasses: org.apache.xerces.impl.xs.SchemaGrammar,
XSGrammar | public interface XSGrammar extends Grammar(Code) | | Representing a schema grammar. It contains declaration/definitions from
a certain namespace. When a grammar is preparsed, and its grammar type is
XML Schema, it can be casted to this interface. Objects of this interface
can be converted to XSModel, from which further information about components
in this grammar can be obtained.
author: Sandy Gao, IBM version: $Id: XSGrammar.java 570135 2007-08-27 14:15:35Z mrglavas $ |
Method Summary | |
public XSModel | toXSModel() Return an XSModel that represents components in this schema
grammar and any schema grammars that are imported by this grammar
directly or indirectly. | public XSModel | toXSModel(XSGrammar[] grammars) Return an XSModel that represents components in this schema
grammar and the grammars in the grammars parameter,
any schema grammars that are imported by them directly or indirectly. |
toXSModel | public XSModel toXSModel()(Code) | | Return an XSModel that represents components in this schema
grammar and any schema grammars that are imported by this grammar
directly or indirectly.
an XSModel representing this schema grammar |
toXSModel | public XSModel toXSModel(XSGrammar[] grammars)(Code) | | Return an XSModel that represents components in this schema
grammar and the grammars in the grammars parameter,
any schema grammars that are imported by them directly or indirectly.
an XSModel representing these schema grammars |
|
|