BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.apache.xerces.xni.grammars
Interface XSGrammar

All Known Implementing Classes:
SchemaGrammar

public interface XSGrammar
extends 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.


Method Summary
 weblogic.apache.xerces.impl.xs.psvi.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.
 
Methods inherited from interface weblogic.apache.xerces.xni.grammars.Grammar
getGrammarDescription
 

Method Detail

toXSModel

public weblogic.apache.xerces.impl.xs.psvi.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.

Returns:
an XSModel representing this schema grammar

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81