public static final class SchemaGrammar.Schema4Annotations extends SchemaGrammar
A partial schema for schemas for validating annotations.
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4Annotations| Modifier and Type | Field and Description |
|---|---|
static SchemaGrammar.Schema4Annotations |
INSTANCE
Singleton instance.
|
fAnySimpleType, fAnyType, SG_SchemaNS, SG_XSI| Modifier and Type | Method and Description |
|---|---|
void |
addComplexTypeDecl(XSComplexTypeDecl decl,
SimpleLocator locator)
add one complex type decl: for later constraint checking
|
void |
addDocument(java.lang.Object document,
java.lang.String location) |
void |
addGlobalAttributeDecl(XSAttributeDecl decl)
register one global attribute
|
void |
addGlobalAttributeDecl(XSAttributeGroupDecl decl,
java.lang.String location) |
void |
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
register one global attribute group
|
void |
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl,
java.lang.String location) |
void |
addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
register one global complex type
|
void |
addGlobalComplexTypeDecl(XSComplexTypeDecl decl,
java.lang.String location) |
void |
addGlobalElementDecl(XSElementDecl decl) |
void |
addGlobalElementDecl(XSElementDecl decl,
java.lang.String location) |
void |
addGlobalElementDeclAll(XSElementDecl decl)
register one global element
|
void |
addGlobalGroupDecl(XSGroupDecl decl)
register one global group
|
void |
addGlobalGroupDecl(XSGroupDecl decl,
java.lang.String location) |
void |
addGlobalNotationDecl(XSNotationDecl decl)
register one global notation
|
void |
addGlobalNotationDecl(XSNotationDecl decl,
java.lang.String location) |
void |
addGlobalSimpleTypeDecl(XSSimpleType decl)
register one global simple type
|
void |
addGlobalSimpleTypeDecl(XSSimpleType decl,
java.lang.String location) |
void |
addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl)
register one global type
|
void |
addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl,
java.lang.String location) |
void |
addRedefinedGroupDecl(XSGroupDecl derived,
XSGroupDecl base,
SimpleLocator locator)
add a group redefined by restriction: for later constraint checking
|
org.apache.xerces.xni.grammars.XMLGrammarDescription |
getGrammarDescription()
get the
XMLGrammarDescription associated with this
object |
void |
setImportedGrammars(java.util.Vector importedGrammars) |
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, toXSModelpublic static final SchemaGrammar.Schema4Annotations INSTANCE
public org.apache.xerces.xni.grammars.XMLGrammarDescription getGrammarDescription()
org.apache.xerces.xni.grammars.GrammarXMLGrammarDescription associated with this
objectgetGrammarDescription in interface org.apache.xerces.xni.grammars.GrammargetGrammarDescription in class SchemaGrammarpublic void setImportedGrammars(java.util.Vector importedGrammars)
setImportedGrammars in class SchemaGrammarpublic void addGlobalAttributeDecl(XSAttributeDecl decl)
SchemaGrammaraddGlobalAttributeDecl in class SchemaGrammarpublic void addGlobalAttributeDecl(XSAttributeGroupDecl decl, java.lang.String location)
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
SchemaGrammaraddGlobalAttributeGroupDecl in class SchemaGrammarpublic void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, java.lang.String location)
addGlobalAttributeGroupDecl in class SchemaGrammarpublic void addGlobalElementDecl(XSElementDecl decl)
addGlobalElementDecl in class SchemaGrammarpublic void addGlobalElementDecl(XSElementDecl decl, java.lang.String location)
addGlobalElementDecl in class SchemaGrammarpublic void addGlobalElementDeclAll(XSElementDecl decl)
SchemaGrammaraddGlobalElementDeclAll in class SchemaGrammarpublic void addGlobalGroupDecl(XSGroupDecl decl)
SchemaGrammaraddGlobalGroupDecl in class SchemaGrammarpublic void addGlobalGroupDecl(XSGroupDecl decl, java.lang.String location)
addGlobalGroupDecl in class SchemaGrammarpublic void addGlobalNotationDecl(XSNotationDecl decl)
SchemaGrammaraddGlobalNotationDecl in class SchemaGrammarpublic void addGlobalNotationDecl(XSNotationDecl decl, java.lang.String location)
addGlobalNotationDecl in class SchemaGrammarpublic void addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl)
SchemaGrammaraddGlobalTypeDecl in class SchemaGrammarpublic void addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl,
java.lang.String location)
addGlobalTypeDecl in class SchemaGrammarpublic void addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
SchemaGrammaraddGlobalComplexTypeDecl in class SchemaGrammarpublic void addGlobalComplexTypeDecl(XSComplexTypeDecl decl, java.lang.String location)
addGlobalComplexTypeDecl in class SchemaGrammarpublic void addGlobalSimpleTypeDecl(XSSimpleType decl)
SchemaGrammaraddGlobalSimpleTypeDecl in class SchemaGrammarpublic void addGlobalSimpleTypeDecl(XSSimpleType decl, java.lang.String location)
addGlobalSimpleTypeDecl in class SchemaGrammarpublic void addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)
SchemaGrammaraddComplexTypeDecl in class SchemaGrammarpublic void addRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)
SchemaGrammaraddRedefinedGroupDecl in class SchemaGrammarpublic void addDocument(java.lang.Object document,
java.lang.String location)
addDocument in class SchemaGrammarCopyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.