public static final class SchemaGrammar.Schema4Annotations extends SchemaGrammar
A partial schema for schemas for validating annotations.
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4Annotations
fAnySimpleType, 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, toXSModel
public SchemaGrammar.Schema4Annotations()
public XMLGrammarDescription getGrammarDescription()
Grammar
XMLGrammarDescription
associated with this
objectgetGrammarDescription
in interface Grammar
getGrammarDescription
in class SchemaGrammar
public void setImportedGrammars(Vector importedGrammars)
setImportedGrammars
in class SchemaGrammar
public void addGlobalAttributeDecl(XSAttributeDecl decl)
SchemaGrammar
addGlobalAttributeDecl
in class SchemaGrammar
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
SchemaGrammar
addGlobalAttributeGroupDecl
in class SchemaGrammar
public void addGlobalElementDecl(XSElementDecl decl)
SchemaGrammar
addGlobalElementDecl
in class SchemaGrammar
public void addGlobalGroupDecl(XSGroupDecl decl)
SchemaGrammar
addGlobalGroupDecl
in class SchemaGrammar
public void addGlobalNotationDecl(XSNotationDecl decl)
SchemaGrammar
addGlobalNotationDecl
in class SchemaGrammar
public void addGlobalTypeDecl(XSTypeDefinition decl)
SchemaGrammar
addGlobalTypeDecl
in class SchemaGrammar
public void addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)
SchemaGrammar
addComplexTypeDecl
in class SchemaGrammar
public void addRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)
SchemaGrammar
addRedefinedGroupDecl
in class SchemaGrammar
public void addDocument(Object document, String location)
addDocument
in class SchemaGrammar
Copyright © 2018 JBoss by Red Hat. All rights reserved.