org.apache.xerces.impl.xs

Class SchemaGrammar.BuiltinSchemaGrammar

Enclosing Class:
SchemaGrammar
Implemented Interfaces:
org.apache.xerces.xni.grammars.XSGrammar, org.apache.xerces.xs.XSNamespaceItem

public static class SchemaGrammar.BuiltinSchemaGrammar
extends SchemaGrammar

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.xerces.impl.xs.SchemaGrammar

SchemaGrammar.BuiltinSchemaGrammar

Field Summary

Fields inherited from class org.apache.xerces.impl.xs.SchemaGrammar

SG_SchemaNS, SG_XSI, fAnySimpleType, fAnyType

Constructor Summary

BuiltinSchemaGrammar(int grammar)
Special constructor to create the grammars for the schema namespaces

Method Summary

void
addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)
void
addDocument(Object document, String location)
void
addGlobalAttributeDecl(XSAttributeDecl decl)
void
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
void
addGlobalElementDecl(XSElementDecl decl)
void
addGlobalGroupDecl(XSGroupDecl decl)
void
addGlobalNotationDecl(XSNotationDecl decl)
void
addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl)
void
addRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)
org.apache.xerces.xni.grammars.XMLGrammarDescription
getGrammarDescription()
void
setImportedGrammars(Vector importedGrammars)

Methods inherited from class org.apache.xerces.impl.xs.SchemaGrammar

addAnnotation, addComplexTypeDecl, addDocument, addGlobalAttributeDecl, addGlobalAttributeGroupDecl, addGlobalElementDecl, addGlobalGroupDecl, addGlobalNotationDecl, addGlobalTypeDecl, addIDConstraintDecl, addRedefinedGroupDecl, getAnnotations, getAttributeDeclaration, getAttributeGroup, getComponents, getDocumentLocations, getElementDeclaration, getGlobalAttributeDecl, getGlobalAttributeGroupDecl, getGlobalElementDecl, getGlobalGroupDecl, getGlobalNotationDecl, getGlobalTypeDecl, getGrammarDescription, getIDConstraintDecl, getImportedGrammars, getModelGroupDefinition, getNotationDeclaration, getSchemaNamespace, getTargetNamespace, getTypeDefinition, hasIDConstraints, isNamespaceAware, setImportedGrammars, toXSModel, toXSModel

Constructor Details

BuiltinSchemaGrammar

public BuiltinSchemaGrammar(int grammar)
Special constructor to create the grammars for the schema namespaces

Parameters:
grammar -

Method Details

addComplexTypeDecl

public void addComplexTypeDecl(XSComplexTypeDecl decl,
                               SimpleLocator locator)
Overrides:
addComplexTypeDecl in interface SchemaGrammar


addDocument

public void addDocument(Object document,
                        String location)
Overrides:
addDocument in interface SchemaGrammar


addGlobalAttributeDecl

public void addGlobalAttributeDecl(XSAttributeDecl decl)
Overrides:
addGlobalAttributeDecl in interface SchemaGrammar


addGlobalAttributeGroupDecl

public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
Overrides:
addGlobalAttributeGroupDecl in interface SchemaGrammar


addGlobalElementDecl

public void addGlobalElementDecl(XSElementDecl decl)
Overrides:
addGlobalElementDecl in interface SchemaGrammar


addGlobalGroupDecl

public void addGlobalGroupDecl(XSGroupDecl decl)
Overrides:
addGlobalGroupDecl in interface SchemaGrammar


addGlobalNotationDecl

public void addGlobalNotationDecl(XSNotationDecl decl)
Overrides:
addGlobalNotationDecl in interface SchemaGrammar


addGlobalTypeDecl

public void addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl)
Overrides:
addGlobalTypeDecl in interface SchemaGrammar


addRedefinedGroupDecl

public void addRedefinedGroupDecl(XSGroupDecl derived,
                                  XSGroupDecl base,
                                  SimpleLocator locator)
Overrides:
addRedefinedGroupDecl in interface SchemaGrammar


getGrammarDescription

public org.apache.xerces.xni.grammars.XMLGrammarDescription getGrammarDescription()
Specified by:
getGrammarDescription in interface org.apache.xerces.xni.grammars.Grammar
Overrides:
getGrammarDescription in interface SchemaGrammar


setImportedGrammars

public void setImportedGrammars(Vector importedGrammars)
Overrides:
setImportedGrammars in interface SchemaGrammar


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.