Class SchemaGrammar.BuiltinSchemaGrammar
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.SchemaGrammar
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.SchemaGrammar.BuiltinSchemaGrammar
-
- All Implemented Interfaces:
Grammar
,XSGrammar
,XSNamespaceItem
- Enclosing class:
- SchemaGrammar
public static class SchemaGrammar.BuiltinSchemaGrammar extends SchemaGrammar
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.SchemaGrammar
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4Annotations
-
-
Field Summary
-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.SchemaGrammar
fAnySimpleType, fAnyType, SG_SchemaNS, SG_XSI
-
-
Constructor Summary
Constructors Constructor Description BuiltinSchemaGrammar(int grammar, short schemaVersion)
Special constructor to create the grammars for the schema namespaces
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)
add one complex type decl: for later constraint checkingvoid
addDocument(Object document, String location)
void
addGlobalAttributeDecl(XSAttributeDecl decl)
register one global attributevoid
addGlobalAttributeDecl(XSAttributeDecl decl, String location)
void
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
register one global attribute groupvoid
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, String location)
void
addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
register one global complex typevoid
addGlobalComplexTypeDecl(XSComplexTypeDecl decl, String location)
void
addGlobalElementDecl(XSElementDecl decl)
void
addGlobalElementDecl(XSElementDecl decl, String location)
void
addGlobalElementDeclAll(XSElementDecl decl)
register one global elementvoid
addGlobalGroupDecl(XSGroupDecl decl)
register one global groupvoid
addGlobalGroupDecl(XSGroupDecl decl, String location)
void
addGlobalNotationDecl(XSNotationDecl decl)
register one global notationvoid
addGlobalNotationDecl(XSNotationDecl decl, String location)
void
addGlobalSimpleTypeDecl(XSSimpleType decl)
register one global simple typevoid
addGlobalSimpleTypeDecl(XSSimpleType decl, String location)
void
addGlobalTypeDecl(XSTypeDefinition decl)
register one global typevoid
addGlobalTypeDecl(XSTypeDefinition decl, String location)
void
addRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)
add a group redefined by restriction: for later constraint checkingXMLGrammarDescription
getGrammarDescription()
get theXMLGrammarDescription
associated with this objectvoid
setImportedGrammars(Vector importedGrammars)
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.SchemaGrammar
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
-
-
-
-
Method Detail
-
getGrammarDescription
public XMLGrammarDescription getGrammarDescription()
Description copied from interface:Grammar
get theXMLGrammarDescription
associated with this object- Specified by:
getGrammarDescription
in interfaceGrammar
- Overrides:
getGrammarDescription
in classSchemaGrammar
-
setImportedGrammars
public void setImportedGrammars(Vector importedGrammars)
- Overrides:
setImportedGrammars
in classSchemaGrammar
-
addGlobalAttributeDecl
public void addGlobalAttributeDecl(XSAttributeDecl decl)
Description copied from class:SchemaGrammar
register one global attribute- Overrides:
addGlobalAttributeDecl
in classSchemaGrammar
-
addGlobalAttributeDecl
public void addGlobalAttributeDecl(XSAttributeDecl decl, String location)
- Overrides:
addGlobalAttributeDecl
in classSchemaGrammar
-
addGlobalAttributeGroupDecl
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
Description copied from class:SchemaGrammar
register one global attribute group- Overrides:
addGlobalAttributeGroupDecl
in classSchemaGrammar
-
addGlobalAttributeGroupDecl
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, String location)
- Overrides:
addGlobalAttributeGroupDecl
in classSchemaGrammar
-
addGlobalElementDecl
public void addGlobalElementDecl(XSElementDecl decl)
- Overrides:
addGlobalElementDecl
in classSchemaGrammar
-
addGlobalElementDecl
public void addGlobalElementDecl(XSElementDecl decl, String location)
- Overrides:
addGlobalElementDecl
in classSchemaGrammar
-
addGlobalElementDeclAll
public void addGlobalElementDeclAll(XSElementDecl decl)
Description copied from class:SchemaGrammar
register one global element- Overrides:
addGlobalElementDeclAll
in classSchemaGrammar
-
addGlobalGroupDecl
public void addGlobalGroupDecl(XSGroupDecl decl)
Description copied from class:SchemaGrammar
register one global group- Overrides:
addGlobalGroupDecl
in classSchemaGrammar
-
addGlobalGroupDecl
public void addGlobalGroupDecl(XSGroupDecl decl, String location)
- Overrides:
addGlobalGroupDecl
in classSchemaGrammar
-
addGlobalNotationDecl
public void addGlobalNotationDecl(XSNotationDecl decl)
Description copied from class:SchemaGrammar
register one global notation- Overrides:
addGlobalNotationDecl
in classSchemaGrammar
-
addGlobalNotationDecl
public void addGlobalNotationDecl(XSNotationDecl decl, String location)
- Overrides:
addGlobalNotationDecl
in classSchemaGrammar
-
addGlobalTypeDecl
public void addGlobalTypeDecl(XSTypeDefinition decl)
Description copied from class:SchemaGrammar
register one global type- Overrides:
addGlobalTypeDecl
in classSchemaGrammar
-
addGlobalTypeDecl
public void addGlobalTypeDecl(XSTypeDefinition decl, String location)
- Overrides:
addGlobalTypeDecl
in classSchemaGrammar
-
addGlobalComplexTypeDecl
public void addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
Description copied from class:SchemaGrammar
register one global complex type- Overrides:
addGlobalComplexTypeDecl
in classSchemaGrammar
-
addGlobalComplexTypeDecl
public void addGlobalComplexTypeDecl(XSComplexTypeDecl decl, String location)
- Overrides:
addGlobalComplexTypeDecl
in classSchemaGrammar
-
addGlobalSimpleTypeDecl
public void addGlobalSimpleTypeDecl(XSSimpleType decl)
Description copied from class:SchemaGrammar
register one global simple type- Overrides:
addGlobalSimpleTypeDecl
in classSchemaGrammar
-
addGlobalSimpleTypeDecl
public void addGlobalSimpleTypeDecl(XSSimpleType decl, String location)
- Overrides:
addGlobalSimpleTypeDecl
in classSchemaGrammar
-
addComplexTypeDecl
public void addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator)
Description copied from class:SchemaGrammar
add one complex type decl: for later constraint checking- Overrides:
addComplexTypeDecl
in classSchemaGrammar
-
addRedefinedGroupDecl
public void addRedefinedGroupDecl(XSGroupDecl derived, XSGroupDecl base, SimpleLocator locator)
Description copied from class:SchemaGrammar
add a group redefined by restriction: for later constraint checking- Overrides:
addRedefinedGroupDecl
in classSchemaGrammar
-
addDocument
public void addDocument(Object document, String location)
- Overrides:
addDocument
in classSchemaGrammar
-
-