Package org.apache.xerces.impl.xs
Class SchemaGrammar.BuiltinSchemaGrammar
- java.lang.Object
-
- org.apache.xerces.impl.xs.SchemaGrammar
-
- org.apache.xerces.impl.xs.SchemaGrammar.BuiltinSchemaGrammar
-
- All Implemented Interfaces:
org.apache.xerces.xni.grammars.Grammar,org.apache.xerces.xni.grammars.XSGrammar,org.apache.xerces.xs.XSNamespaceItem
- Enclosing class:
- SchemaGrammar
public static class SchemaGrammar.BuiltinSchemaGrammar extends SchemaGrammar
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.xerces.impl.xs.SchemaGrammar
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4Annotations
-
-
Field Summary
-
Fields inherited from class org.apache.xerces.impl.xs.SchemaGrammar
fAnySimpleType, fAnyType, SG_SchemaNS, SG_XSI
-
-
Constructor Summary
Constructors Constructor Description BuiltinSchemaGrammar(int grammar, short schemaVersion)Special constructor to create the grammars for the schema namespaces
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)add one complex type decl: for later constraint checkingvoidaddDocument(java.lang.Object document, java.lang.String location)voidaddGlobalAttributeDecl(XSAttributeDecl decl)register one global attributevoidaddGlobalAttributeDecl(XSAttributeDecl decl, java.lang.String location)voidaddGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)register one global attribute groupvoidaddGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, java.lang.String location)voidaddGlobalComplexTypeDecl(XSComplexTypeDecl decl)register one global complex typevoidaddGlobalComplexTypeDecl(XSComplexTypeDecl decl, java.lang.String location)voidaddGlobalElementDecl(XSElementDecl decl)voidaddGlobalElementDecl(XSElementDecl decl, java.lang.String location)voidaddGlobalElementDeclAll(XSElementDecl decl)register one global elementvoidaddGlobalGroupDecl(XSGroupDecl decl)register one global groupvoidaddGlobalGroupDecl(XSGroupDecl decl, java.lang.String location)voidaddGlobalNotationDecl(XSNotationDecl decl)register one global notationvoidaddGlobalNotationDecl(XSNotationDecl decl, java.lang.String location)voidaddGlobalSimpleTypeDecl(XSSimpleType decl)register one global simple typevoidaddGlobalSimpleTypeDecl(XSSimpleType decl, java.lang.String location)voidaddGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl)register one global typevoidaddGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl, java.lang.String location)voidaddRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)add a group redefined by restriction: for later constraint checkingorg.apache.xerces.xni.grammars.XMLGrammarDescriptiongetGrammarDescription()get theXMLGrammarDescriptionassociated with this objectvoidsetImportedGrammars(java.util.Vector importedGrammars)-
Methods inherited from class org.apache.xerces.impl.xs.SchemaGrammar
addAnnotation, addIDConstraintDecl, addIDConstraintDecl, getAnnotations, getAttributeDeclaration, getAttributeGroup, getComponents, getComponentsExt, getDocumentLocations, getElementDeclaration, getGlobalAttributeDecl, getGlobalAttributeDecl, getGlobalAttributeGroupDecl, getGlobalAttributeGroupDecl, getGlobalElementDecl, getGlobalElementDecl, getGlobalGroupDecl, getGlobalGroupDecl, getGlobalNotationDecl, getGlobalNotationDecl, getGlobalTypeDecl, getGlobalTypeDecl, getIDCDefinition, getIDConstraintDecl, getIDConstraintDecl, getImportedGrammars, getModelGroupDefinition, getNotationDeclaration, getS4SGrammar, getSchemaNamespace, getTargetNamespace, getTypeDefinition, hasIDConstraints, isImmutable, isNamespaceAware, removeDocument, resetComponents, setImmutable, toXSModel, toXSModel
-
-
-
-
Method Detail
-
getGrammarDescription
public org.apache.xerces.xni.grammars.XMLGrammarDescription getGrammarDescription()
Description copied from interface:org.apache.xerces.xni.grammars.Grammarget theXMLGrammarDescriptionassociated with this object- Specified by:
getGrammarDescriptionin interfaceorg.apache.xerces.xni.grammars.Grammar- Overrides:
getGrammarDescriptionin classSchemaGrammar
-
setImportedGrammars
public void setImportedGrammars(java.util.Vector importedGrammars)
- Overrides:
setImportedGrammarsin classSchemaGrammar
-
addGlobalAttributeDecl
public void addGlobalAttributeDecl(XSAttributeDecl decl)
Description copied from class:SchemaGrammarregister one global attribute- Overrides:
addGlobalAttributeDeclin classSchemaGrammar
-
addGlobalAttributeDecl
public void addGlobalAttributeDecl(XSAttributeDecl decl, java.lang.String location)
- Overrides:
addGlobalAttributeDeclin classSchemaGrammar
-
addGlobalAttributeGroupDecl
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
Description copied from class:SchemaGrammarregister one global attribute group- Overrides:
addGlobalAttributeGroupDeclin classSchemaGrammar
-
addGlobalAttributeGroupDecl
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, java.lang.String location)
- Overrides:
addGlobalAttributeGroupDeclin classSchemaGrammar
-
addGlobalElementDecl
public void addGlobalElementDecl(XSElementDecl decl)
- Overrides:
addGlobalElementDeclin classSchemaGrammar
-
addGlobalElementDecl
public void addGlobalElementDecl(XSElementDecl decl, java.lang.String location)
- Overrides:
addGlobalElementDeclin classSchemaGrammar
-
addGlobalElementDeclAll
public void addGlobalElementDeclAll(XSElementDecl decl)
Description copied from class:SchemaGrammarregister one global element- Overrides:
addGlobalElementDeclAllin classSchemaGrammar
-
addGlobalGroupDecl
public void addGlobalGroupDecl(XSGroupDecl decl)
Description copied from class:SchemaGrammarregister one global group- Overrides:
addGlobalGroupDeclin classSchemaGrammar
-
addGlobalGroupDecl
public void addGlobalGroupDecl(XSGroupDecl decl, java.lang.String location)
- Overrides:
addGlobalGroupDeclin classSchemaGrammar
-
addGlobalNotationDecl
public void addGlobalNotationDecl(XSNotationDecl decl)
Description copied from class:SchemaGrammarregister one global notation- Overrides:
addGlobalNotationDeclin classSchemaGrammar
-
addGlobalNotationDecl
public void addGlobalNotationDecl(XSNotationDecl decl, java.lang.String location)
- Overrides:
addGlobalNotationDeclin classSchemaGrammar
-
addGlobalTypeDecl
public void addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl)
Description copied from class:SchemaGrammarregister one global type- Overrides:
addGlobalTypeDeclin classSchemaGrammar
-
addGlobalTypeDecl
public void addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl, java.lang.String location)- Overrides:
addGlobalTypeDeclin classSchemaGrammar
-
addGlobalComplexTypeDecl
public void addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
Description copied from class:SchemaGrammarregister one global complex type- Overrides:
addGlobalComplexTypeDeclin classSchemaGrammar
-
addGlobalComplexTypeDecl
public void addGlobalComplexTypeDecl(XSComplexTypeDecl decl, java.lang.String location)
- Overrides:
addGlobalComplexTypeDeclin classSchemaGrammar
-
addGlobalSimpleTypeDecl
public void addGlobalSimpleTypeDecl(XSSimpleType decl)
Description copied from class:SchemaGrammarregister one global simple type- Overrides:
addGlobalSimpleTypeDeclin classSchemaGrammar
-
addGlobalSimpleTypeDecl
public void addGlobalSimpleTypeDecl(XSSimpleType decl, java.lang.String location)
- Overrides:
addGlobalSimpleTypeDeclin classSchemaGrammar
-
addComplexTypeDecl
public void addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)
Description copied from class:SchemaGrammaradd one complex type decl: for later constraint checking- Overrides:
addComplexTypeDeclin classSchemaGrammar
-
addRedefinedGroupDecl
public void addRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)
Description copied from class:SchemaGrammaradd a group redefined by restriction: for later constraint checking- Overrides:
addRedefinedGroupDeclin classSchemaGrammar
-
addDocument
public void addDocument(java.lang.Object document, java.lang.String location)- Overrides:
addDocumentin classSchemaGrammar
-
-