public static final class SchemaGrammar.Schema4Annotations extends SchemaGrammar
A partial schema for schemas for validating annotations.
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4AnnotationsfAnySimpleType, fAnyType, SG_Schema4Annotations, SG_SchemaNS, SG_XSI| Constructor and Description |
|---|
SchemaGrammar.Schema4Annotations()
Special constructor to create a schema
capable of validating annotations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addComplexTypeDecl(XSComplexTypeDecl decl,
SimpleLocator locator)
add one complex type decl: for later constraint checking
|
void |
addDocument(Object document,
String location) |
void |
addGlobalAttributeDecl(XSAttributeDecl decl)
register one global attribute
|
void |
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
register one global attribute group
|
void |
addGlobalElementDecl(XSElementDecl decl)
register one global element
|
void |
addGlobalGroupDecl(XSGroupDecl decl)
register one global group
|
void |
addGlobalNotationDecl(XSNotationDecl decl)
register one global notation
|
void |
addGlobalTypeDecl(XSTypeDefinition decl)
register one global type
|
void |
addRedefinedGroupDecl(XSGroupDecl derived,
XSGroupDecl base,
SimpleLocator locator)
add a group redefined by restriction: for later constraint checking
|
XMLGrammarDescription |
getGrammarDescription()
get the
XMLGrammarDescription associated with this
object |
void |
setImportedGrammars(Vector importedGrammars) |
addAnnotation, addIDConstraintDecl, getAnnotations, getAttributeDeclaration, getAttributeGroup, getComponents, getDocumentLocations, getElementDeclaration, getGlobalAttributeDecl, getGlobalAttributeGroupDecl, getGlobalElementDecl, getGlobalGroupDecl, getGlobalNotationDecl, getGlobalTypeDecl, getIDConstraintDecl, getImportedGrammars, getModelGroupDefinition, getNotationDeclaration, getSchemaNamespace, getTargetNamespace, getTypeDefinition, hasIDConstraints, isNamespaceAware, toXSModel, toXSModelpublic SchemaGrammar.Schema4Annotations()
public XMLGrammarDescription getGrammarDescription()
GrammarXMLGrammarDescription associated with this
objectgetGrammarDescription in interface GrammargetGrammarDescription in class SchemaGrammarpublic void setImportedGrammars(Vector importedGrammars)
setImportedGrammars in class SchemaGrammarpublic void addGlobalAttributeDecl(XSAttributeDecl decl)
SchemaGrammaraddGlobalAttributeDecl in class SchemaGrammarpublic void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
SchemaGrammaraddGlobalAttributeGroupDecl in class SchemaGrammarpublic void addGlobalElementDecl(XSElementDecl decl)
SchemaGrammaraddGlobalElementDecl in class SchemaGrammarpublic void addGlobalGroupDecl(XSGroupDecl decl)
SchemaGrammaraddGlobalGroupDecl in class SchemaGrammarpublic void addGlobalNotationDecl(XSNotationDecl decl)
SchemaGrammaraddGlobalNotationDecl in class SchemaGrammarpublic void addGlobalTypeDecl(XSTypeDefinition decl)
SchemaGrammaraddGlobalTypeDecl 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(Object document, String location)
addDocument in class SchemaGrammarCopyright © 2012 JBoss by Red Hat. All Rights Reserved.