org.apache.xerces.xni.grammars
Interface XSGrammar
- Grammar
public interface XSGrammar
Representing a schema grammar. It contains declaratoin/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.
$Id: XSGrammar.java 447245 2006-09-18 05:22:10Z mrglavas $ org.apache.xerces.xs.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.
|
org.apache.xerces.xs.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 org.apache.xerces.xs.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.
- an
XSModel
representing this schema grammar
toXSModel
public org.apache.xerces.xs.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.
- an
XSModel
representing these schema grammars
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.