public static class SchemaGrammar.BuiltinSchemaGrammar extends SchemaGrammar
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4AnnotationsfAnySimpleType, fAnyType, SG_Schema4Annotations, SG_SchemaNS, SG_XSI| Constructor and Description |
|---|
SchemaGrammar.BuiltinSchemaGrammar(int grammar)
Special constructor to create the grammars for the schema namespaces
|
| 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.BuiltinSchemaGrammar(int grammar)
grammar - 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.