Package org.apache.xerces.impl.xs
Class SchemaGrammar.Schema4Annotations
java.lang.Object
org.apache.xerces.impl.xs.SchemaGrammar
org.apache.xerces.impl.xs.SchemaGrammar.Schema4Annotations
- All Implemented Interfaces:
org.apache.xerces.xni.grammars.Grammar,org.apache.xerces.xni.grammars.XSGrammar,org.apache.xerces.xs.XSNamespaceItem
- Enclosing class:
SchemaGrammar
A partial schema for schemas for validating annotations.
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Author:
- Michael Glavassevich, IBM
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xerces.impl.xs.SchemaGrammar
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4Annotations -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SchemaGrammar.Schema4AnnotationsSingleton instance.Fields inherited from class org.apache.xerces.impl.xs.SchemaGrammar
fAnySimpleType, fAnyType, SG_SchemaNS, SG_XSI -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator) add one complex type decl: for later constraint checkingvoidaddDocument(Object document, String location) voidregister one global attributevoidaddGlobalAttributeDecl(XSAttributeGroupDecl decl, String location) voidregister one global attribute groupvoidaddGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, String location) voidregister one global complex typevoidaddGlobalComplexTypeDecl(XSComplexTypeDecl decl, String location) voidvoidaddGlobalElementDecl(XSElementDecl decl, String location) voidregister one global elementvoidregister one global groupvoidaddGlobalGroupDecl(XSGroupDecl decl, String location) voidregister one global notationvoidaddGlobalNotationDecl(XSNotationDecl decl, String location) voidregister one global simple typevoidaddGlobalSimpleTypeDecl(XSSimpleType decl, String location) voidaddGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl) register one global typevoidaddGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl, String location) voidaddRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator) add a group redefined by restriction: for later constraint checkingorg.apache.xerces.xni.grammars.XMLGrammarDescriptionget theXMLGrammarDescriptionassociated with this objectvoidsetImportedGrammars(Vector importedGrammars) Methods inherited from class org.apache.xerces.impl.xs.SchemaGrammar
addAnnotation, addGlobalAttributeDecl, 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
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Method Details
-
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
- Overrides:
setImportedGrammarsin classSchemaGrammar
-
addGlobalAttributeDecl
Description copied from class:SchemaGrammarregister one global attribute- Overrides:
addGlobalAttributeDeclin classSchemaGrammar
-
addGlobalAttributeDecl
-
addGlobalAttributeGroupDecl
Description copied from class:SchemaGrammarregister one global attribute group- Overrides:
addGlobalAttributeGroupDeclin classSchemaGrammar
-
addGlobalAttributeGroupDecl
- Overrides:
addGlobalAttributeGroupDeclin classSchemaGrammar
-
addGlobalElementDecl
- Overrides:
addGlobalElementDeclin classSchemaGrammar
-
addGlobalElementDecl
- Overrides:
addGlobalElementDeclin classSchemaGrammar
-
addGlobalElementDeclAll
Description copied from class:SchemaGrammarregister one global element- Overrides:
addGlobalElementDeclAllin classSchemaGrammar
-
addGlobalGroupDecl
Description copied from class:SchemaGrammarregister one global group- Overrides:
addGlobalGroupDeclin classSchemaGrammar
-
addGlobalGroupDecl
- Overrides:
addGlobalGroupDeclin classSchemaGrammar
-
addGlobalNotationDecl
Description copied from class:SchemaGrammarregister one global notation- Overrides:
addGlobalNotationDeclin classSchemaGrammar
-
addGlobalNotationDecl
- 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
- Overrides:
addGlobalTypeDeclin classSchemaGrammar
-
addGlobalComplexTypeDecl
Description copied from class:SchemaGrammarregister one global complex type- Overrides:
addGlobalComplexTypeDeclin classSchemaGrammar
-
addGlobalComplexTypeDecl
- Overrides:
addGlobalComplexTypeDeclin classSchemaGrammar
-
addGlobalSimpleTypeDecl
Description copied from class:SchemaGrammarregister one global simple type- Overrides:
addGlobalSimpleTypeDeclin classSchemaGrammar
-
addGlobalSimpleTypeDecl
- Overrides:
addGlobalSimpleTypeDeclin classSchemaGrammar
-
addComplexTypeDecl
Description copied from class:SchemaGrammaradd one complex type decl: for later constraint checking- Overrides:
addComplexTypeDeclin classSchemaGrammar
-
addRedefinedGroupDecl
Description copied from class:SchemaGrammaradd a group redefined by restriction: for later constraint checking- Overrides:
addRedefinedGroupDeclin classSchemaGrammar
-
addDocument
- Overrides:
addDocumentin classSchemaGrammar
-