public static class SchemaGrammar.BuiltinSchemaGrammar extends SchemaGrammar
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4Annotations
fAnySimpleType, fAnyType, SG_SchemaNS, SG_XSI
Constructor and Description |
---|
BuiltinSchemaGrammar(int grammar,
short schemaVersion)
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 |
addGlobalAttributeDecl(XSAttributeDecl decl,
String location) |
void |
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
register one global attribute group
|
void |
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl,
String location) |
void |
addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
register one global complex type
|
void |
addGlobalComplexTypeDecl(XSComplexTypeDecl decl,
String location) |
void |
addGlobalElementDecl(XSElementDecl decl) |
void |
addGlobalElementDecl(XSElementDecl decl,
String location) |
void |
addGlobalElementDeclAll(XSElementDecl decl)
register one global element
|
void |
addGlobalGroupDecl(XSGroupDecl decl)
register one global group
|
void |
addGlobalGroupDecl(XSGroupDecl decl,
String location) |
void |
addGlobalNotationDecl(XSNotationDecl decl)
register one global notation
|
void |
addGlobalNotationDecl(XSNotationDecl decl,
String location) |
void |
addGlobalSimpleTypeDecl(XSSimpleType decl)
register one global simple type
|
void |
addGlobalSimpleTypeDecl(XSSimpleType decl,
String location) |
void |
addGlobalTypeDecl(XSTypeDefinition decl)
register one global type
|
void |
addGlobalTypeDecl(XSTypeDefinition decl,
String location) |
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, 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
public BuiltinSchemaGrammar(int grammar, short schemaVersion)
grammar
- 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 addGlobalAttributeDecl(XSAttributeDecl decl, String location)
addGlobalAttributeDecl
in class SchemaGrammar
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
SchemaGrammar
addGlobalAttributeGroupDecl
in class SchemaGrammar
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, String location)
addGlobalAttributeGroupDecl
in class SchemaGrammar
public void addGlobalElementDecl(XSElementDecl decl)
addGlobalElementDecl
in class SchemaGrammar
public void addGlobalElementDecl(XSElementDecl decl, String location)
addGlobalElementDecl
in class SchemaGrammar
public void addGlobalElementDeclAll(XSElementDecl decl)
SchemaGrammar
addGlobalElementDeclAll
in class SchemaGrammar
public void addGlobalGroupDecl(XSGroupDecl decl)
SchemaGrammar
addGlobalGroupDecl
in class SchemaGrammar
public void addGlobalGroupDecl(XSGroupDecl decl, String location)
addGlobalGroupDecl
in class SchemaGrammar
public void addGlobalNotationDecl(XSNotationDecl decl)
SchemaGrammar
addGlobalNotationDecl
in class SchemaGrammar
public void addGlobalNotationDecl(XSNotationDecl decl, String location)
addGlobalNotationDecl
in class SchemaGrammar
public void addGlobalTypeDecl(XSTypeDefinition decl)
SchemaGrammar
addGlobalTypeDecl
in class SchemaGrammar
public void addGlobalTypeDecl(XSTypeDefinition decl, String location)
addGlobalTypeDecl
in class SchemaGrammar
public void addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
SchemaGrammar
addGlobalComplexTypeDecl
in class SchemaGrammar
public void addGlobalComplexTypeDecl(XSComplexTypeDecl decl, String location)
addGlobalComplexTypeDecl
in class SchemaGrammar
public void addGlobalSimpleTypeDecl(XSSimpleType decl)
SchemaGrammar
addGlobalSimpleTypeDecl
in class SchemaGrammar
public void addGlobalSimpleTypeDecl(XSSimpleType decl, String location)
addGlobalSimpleTypeDecl
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 © 2016 JBoss by Red Hat. All rights reserved.