FileDocCategorySizeDatePackage
XSGrammar.javaAPI DocJava SE 6 API1970Tue Jun 10 00:22:54 BST 2008com.sun.org.apache.xerces.internal.xni.grammars

XSGrammar

public interface XSGrammar implements Grammar
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.
author
Sandy Gao, IBM
version
$Id: XSGrammar.java,v 1.2.6.1 2005/09/06 08:56:56 neerajbj Exp $

Fields Summary
Constructors Summary
Methods Summary
public com.sun.org.apache.xerces.internal.xs.XSModeltoXSModel()
Return an XSModel that represents components in this schema grammar and any schema grammars that are imported by this grammar directly or indirectly.

return
an XSModel representing this schema grammar

public com.sun.org.apache.xerces.internal.xs.XSModeltoXSModel(com.sun.org.apache.xerces.internal.xni.grammars.XSGrammar[] grammars)
Return an XSModel that represents components in this schema grammar and the grammars in the grammarsparameter, any schema grammars that are imported by them directly or indirectly.

return
an XSModel representing these schema grammars