public static class SchemaGrammar.BuiltinSchemaGrammar extends SchemaGrammar
SchemaGrammar.BuiltinSchemaGrammar, SchemaGrammar.Schema4Annotations
fAnySimpleType, fAnyType, SG_SchemaNS, SG_XSI
Constructor and Description |
---|
SchemaGrammar.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(java.lang.Object document,
java.lang.String location) |
void |
addGlobalAttributeDecl(XSAttributeDecl decl)
register one global attribute
|
void |
addGlobalAttributeDecl(XSAttributeDecl decl,
java.lang.String location) |
void |
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
register one global attribute group
|
void |
addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl,
java.lang.String location) |
void |
addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
register one global complex type
|
void |
addGlobalComplexTypeDecl(XSComplexTypeDecl decl,
java.lang.String location) |
void |
addGlobalElementDecl(XSElementDecl decl) |
void |
addGlobalElementDecl(XSElementDecl decl,
java.lang.String location) |
void |
addGlobalElementDeclAll(XSElementDecl decl)
register one global element
|
void |
addGlobalGroupDecl(XSGroupDecl decl)
register one global group
|
void |
addGlobalGroupDecl(XSGroupDecl decl,
java.lang.String location) |
void |
addGlobalNotationDecl(XSNotationDecl decl)
register one global notation
|
void |
addGlobalNotationDecl(XSNotationDecl decl,
java.lang.String location) |
void |
addGlobalSimpleTypeDecl(XSSimpleType decl)
register one global simple type
|
void |
addGlobalSimpleTypeDecl(XSSimpleType decl,
java.lang.String location) |
void |
addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl)
register one global type
|
void |
addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl,
java.lang.String location) |
void |
addRedefinedGroupDecl(XSGroupDecl derived,
XSGroupDecl base,
SimpleLocator locator)
add a group redefined by restriction: for later constraint checking
|
org.apache.xerces.xni.grammars.XMLGrammarDescription |
getGrammarDescription()
get the
XMLGrammarDescription associated with this
object |
void |
setImportedGrammars(java.util.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 SchemaGrammar.BuiltinSchemaGrammar(int grammar, short schemaVersion)
grammar
- public org.apache.xerces.xni.grammars.XMLGrammarDescription getGrammarDescription()
org.apache.xerces.xni.grammars.Grammar
XMLGrammarDescription
associated with this
objectgetGrammarDescription
in interface org.apache.xerces.xni.grammars.Grammar
getGrammarDescription
in class SchemaGrammar
public void setImportedGrammars(java.util.Vector importedGrammars)
setImportedGrammars
in class SchemaGrammar
public void addGlobalAttributeDecl(XSAttributeDecl decl)
SchemaGrammar
addGlobalAttributeDecl
in class SchemaGrammar
public void addGlobalAttributeDecl(XSAttributeDecl decl, java.lang.String location)
addGlobalAttributeDecl
in class SchemaGrammar
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
SchemaGrammar
addGlobalAttributeGroupDecl
in class SchemaGrammar
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, java.lang.String location)
addGlobalAttributeGroupDecl
in class SchemaGrammar
public void addGlobalElementDecl(XSElementDecl decl)
addGlobalElementDecl
in class SchemaGrammar
public void addGlobalElementDecl(XSElementDecl decl, java.lang.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, java.lang.String location)
addGlobalGroupDecl
in class SchemaGrammar
public void addGlobalNotationDecl(XSNotationDecl decl)
SchemaGrammar
addGlobalNotationDecl
in class SchemaGrammar
public void addGlobalNotationDecl(XSNotationDecl decl, java.lang.String location)
addGlobalNotationDecl
in class SchemaGrammar
public void addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl)
SchemaGrammar
addGlobalTypeDecl
in class SchemaGrammar
public void addGlobalTypeDecl(org.apache.xerces.xs.XSTypeDefinition decl, java.lang.String location)
addGlobalTypeDecl
in class SchemaGrammar
public void addGlobalComplexTypeDecl(XSComplexTypeDecl decl)
SchemaGrammar
addGlobalComplexTypeDecl
in class SchemaGrammar
public void addGlobalComplexTypeDecl(XSComplexTypeDecl decl, java.lang.String location)
addGlobalComplexTypeDecl
in class SchemaGrammar
public void addGlobalSimpleTypeDecl(XSSimpleType decl)
SchemaGrammar
addGlobalSimpleTypeDecl
in class SchemaGrammar
public void addGlobalSimpleTypeDecl(XSSimpleType decl, java.lang.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(java.lang.Object document, java.lang.String location)
addDocument
in class SchemaGrammar
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.