org.apache.xerces.impl.xs
Class SchemaGrammar.BuiltinSchemaGrammar
java.lang.Object
|
+--org.apache.xerces.impl.xs.SchemaGrammar
|
+--org.apache.xerces.impl.xs.SchemaGrammar.BuiltinSchemaGrammar
- All Implemented Interfaces:
- org.apache.xerces.xni.grammars.Grammar, org.apache.xerces.xni.grammars.XSGrammar, XSNamespaceItem
- Enclosing class:
- SchemaGrammar
- public static class SchemaGrammar.BuiltinSchemaGrammar
- extends SchemaGrammar
Methods inherited from class org.apache.xerces.impl.xs.SchemaGrammar |
addIDConstraintDecl, getAnnotations, getAttributeDeclaration, getAttributeGroup, getComponents, getDocumentLocations, getElementDeclaration, getGlobalAttributeDecl, getGlobalAttributeGroupDecl, getGlobalElementDecl, getGlobalGroupDecl, getGlobalNotationDecl, getGlobalTypeDecl, getIDConstraintDecl, getImportedGrammars, getModelGroupDefinition, getNotationDeclaration, getSchemaNamespace, getTargetNamespace, getTypeDefinition, isNamespaceAware, toXSModel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaGrammar.BuiltinSchemaGrammar
public SchemaGrammar.BuiltinSchemaGrammar(int grammar)
- Special constructor to create the grammars for the schema namespaces
- Parameters:
grammar
-
getGrammarDescription
public org.apache.xerces.xni.grammars.XMLGrammarDescription getGrammarDescription()
- Overrides:
getGrammarDescription
in class SchemaGrammar
setImportedGrammars
public void setImportedGrammars(java.util.Vector importedGrammars)
- Overrides:
setImportedGrammars
in class SchemaGrammar
addGlobalAttributeDecl
public void addGlobalAttributeDecl(XSAttributeDecl decl)
- Description copied from class:
SchemaGrammar
- register one global attribute
- Overrides:
addGlobalAttributeDecl
in class SchemaGrammar
addGlobalAttributeGroupDecl
public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl)
- Description copied from class:
SchemaGrammar
- register one global attribute group
- Overrides:
addGlobalAttributeGroupDecl
in class SchemaGrammar
addGlobalElementDecl
public void addGlobalElementDecl(XSElementDecl decl)
- Description copied from class:
SchemaGrammar
- register one global element
- Overrides:
addGlobalElementDecl
in class SchemaGrammar
addGlobalGroupDecl
public void addGlobalGroupDecl(XSGroupDecl decl)
- Description copied from class:
SchemaGrammar
- register one global group
- Overrides:
addGlobalGroupDecl
in class SchemaGrammar
addGlobalNotationDecl
public void addGlobalNotationDecl(XSNotationDecl decl)
- Description copied from class:
SchemaGrammar
- register one global notation
- Overrides:
addGlobalNotationDecl
in class SchemaGrammar
addGlobalTypeDecl
public void addGlobalTypeDecl(XSTypeDefinition decl)
- Description copied from class:
SchemaGrammar
- register one global type
- Overrides:
addGlobalTypeDecl
in class SchemaGrammar
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 class SchemaGrammar
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 class SchemaGrammar
addDocument
public void addDocument(java.lang.Object document,
java.lang.String location)
- Overrides:
addDocument
in class SchemaGrammar
Copyright © 1999-2003 Apache XML Project. All Rights Reserved.