Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xerces.validators.schema
Class TraverseSchema  view TraverseSchema download TraverseSchema.java

java.lang.Object
  extended byorg.apache.xerces.validators.schema.TraverseSchema
All Implemented Interfaces:
org.apache.xerces.utils.NamespacesScope.NamespacesHandler

public class TraverseSchema
extends java.lang.Object
implements org.apache.xerces.utils.NamespacesScope.NamespacesHandler

Instances of this class get delegated to Traverse the Schema and to populate the Grammar internal representation by instances of Grammar objects. Traverse a Schema Grammar: As of April 07, 2000 the following is the XML Representation of Schemas and Schema components, Chapter 4 of W3C Working Draft. Content: ((include | import | annotation)* , ((simpleType | complexType | element | group | attribute | attributeGroup | notation) , annotation*)+) Content: (annotation? , simpleType?) Content: (annotation? , (simpleType | complexType)? , (unique | key | keyref)*) Content: (annotation? , (((minExclusive | minInclusive | maxExclusive | maxInclusive | precision | scale | length | minLength | maxLength | encoding | period | duration | enumeration | pattern)* | (element | group | all | choice | sequence | any)*) , ((attribute | attributeGroup)* , anyAttribute?))) Content: (annotation?, (attribute|attributeGroup), anyAttribute?) Content: (annotation?) Content: (annotation? , (element | group | all | choice | sequence | any)*) Content: (annotation? , (element | group | choice | sequence | any)*) Content: (annotation? , (element | group | choice | sequence | any)*) Content: (annotation? , (element | group | choice | sequence | any)*) Content: (annotation?) Content: (annotation? , (selector , field+)) Content: (annotation? , (selector , field+)) Content: (annotation? , (selector , field+)) Content: XPathExprApprox : An XPath expression Content: XPathExprApprox : An XPath expression Content: (annotation?) Content: (appinfo | documentation)* Content: (annotation?) Content: (annotation?) Content: ( annotation? , ( minExclusive | minInclusive | maxExclusive | maxInclusive | precision | scale | length | minLength | maxLength | encoding | period | duration | enumeration | pattern )* ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? ) Content: ( annotation? )

Version:
$Id: TraverseSchema.java,v 1.2 2000/10/07 18:06:56 markd Exp $

Nested Class Summary
 class TraverseSchema.ComplexTypeInfo
           
(package private) static class TraverseSchema.ErrorHandler
           
(package private) static class TraverseSchema.Resolver
           
 
Field Summary
private static boolean DEBUGGING
           
private  int fAnonTypeCount
           
private  java.util.Hashtable fAttributeDeclRegistry
           
private  boolean fAttributeDefaultQualified
           
private  java.util.Hashtable fComplexTypeRegistry
           
private  java.lang.String fCurrentSchemaURL
           
private  int fCurrentScope
           
private  java.util.Stack fCurrentTypeNameStack
           
private  org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl fDatatypeRegistry
           
private  boolean fElementDefaultQualified
           
private  java.util.Hashtable fElementRecurseComplex
           
private  org.apache.xerces.framework.XMLErrorReporter fErrorReporter
           
private  org.apache.xerces.validators.common.GrammarResolver fGrammarResolver
           
private  java.util.Vector fImportLocations
           
private  java.util.Vector fIncludeLocations
           
private  org.apache.xerces.utils.NamespacesScope fNamespacesScope
           
private  SchemaGrammar fSchemaGrammar
           
private  org.w3c.dom.Element fSchemaRootElement
           
private  int fScopeCount
           
private  int fSimpleTypeAnonCount
           
private  org.apache.xerces.utils.StringPool fStringPool
           
private  int fTargetNSURI
           
private  java.lang.String fTargetNSURIString
           
private  org.apache.xerces.validators.common.XMLAttributeDecl fTempAttributeDecl
           
private  org.apache.xerces.validators.common.XMLElementDecl fTempElementDecl
           
static java.lang.String SchemaForSchemaURI
           
private static int TOP_LEVEL_SCOPE
           
 
Constructor Summary
private TraverseSchema()
           
  TraverseSchema(org.w3c.dom.Element root, org.apache.xerces.utils.StringPool stringPool, SchemaGrammar schemaGrammar, org.apache.xerces.validators.common.GrammarResolver grammarResolver)
           
  TraverseSchema(org.w3c.dom.Element root, org.apache.xerces.utils.StringPool stringPool, SchemaGrammar schemaGrammar, org.apache.xerces.validators.common.GrammarResolver grammarResolver, org.apache.xerces.framework.XMLErrorReporter errorReporter, java.lang.String schemaURL)
           
 
Method Summary
private  int addAttributeDeclFromAnotherSchema(java.lang.String name, java.lang.String uriStr, TraverseSchema.ComplexTypeInfo typeInfo)
           
private  int buildAllModel(int[] children, int count)
          builds the all content model
private  int buildAllModel(int[] src, int offset, org.apache.xerces.framework.XMLContentSpec choice)
          Builds the all model.
private  void checkEquivClassOK(org.w3c.dom.Element elementDecl, org.w3c.dom.Element equivClassElementDecl)
           
private  void checkParticleDerivationOK(org.w3c.dom.Element derivedTypeNode, org.w3c.dom.Element baseTypeNode)
           
private  void checkRecursingComplexType()
           
private  void checkTopLevelDuplicateNames(org.w3c.dom.Element root)
           
private  int createSeq(int[] src)
          Creates a sequence.
 void doTraverseSchema(org.w3c.dom.Element root, org.apache.xerces.utils.StringPool stringPool, SchemaGrammar schemaGrammar, org.apache.xerces.validators.common.GrammarResolver grammarResolver)
           
 void endNamespaceDeclScope(int prefix)
          endNamespaceDeclScope is called when a namespace scope ends
private  int expandContentModel(int index, org.w3c.dom.Element particle)
           
private  java.lang.String expandSystemId(java.lang.String systemId, java.lang.String currentSystemId)
          Expands a system id and returns the system id as a URL, if it can be expanded.
private  void extractTopLevel3Components(org.w3c.dom.Element root)
           
private static java.lang.String fixURI(java.lang.String str)
          Fixes a platform dependent filename to standard URI form.
 org.apache.xerces.validators.datatype.DatatypeValidator getDatatypeValidator(java.lang.String uri, java.lang.String localpart)
           
(package private)  TraverseSchema.ComplexTypeInfo getElementDeclTypeInfoFromNS(java.lang.String newSchemaURI, java.lang.String localpart)
           
(package private)  org.apache.xerces.validators.datatype.DatatypeValidator getElementDeclTypeValidatorFromNS(java.lang.String newSchemaURI, java.lang.String localpart)
           
(package private)  java.lang.String getLocalPart(java.lang.String fullName)
           
(package private)  int getLocalPartIndex(java.lang.String fullName)
           
(package private)  java.lang.String getPrefix(java.lang.String fullName)
           
(package private)  int getPrefixIndex(java.lang.String fullName)
           
private  org.w3c.dom.Element getTopLevelComponentByName(java.lang.String componentCategory, java.lang.String name)
           
(package private)  TraverseSchema.ComplexTypeInfo getTypeInfoFromNS(java.lang.String newSchemaURI, java.lang.String localpart)
           
(package private)  org.apache.xerces.validators.datatype.DatatypeValidator getTypeValidatorFromNS(java.lang.String newSchemaURI, java.lang.String localpart)
           
(package private)  int[] intersect2sets(int[] one, int[] theOther)
           
private  boolean isTopLevel(org.w3c.dom.Element component)
           
static void main(java.lang.String[] args)
           
private  org.apache.xerces.validators.common.XMLAttributeDecl mergeTwoAnyAttribute(org.apache.xerces.validators.common.XMLAttributeDecl oneAny, org.apache.xerces.validators.common.XMLAttributeDecl anotherAny)
           
private  int parseBlockSet(java.lang.String finalString)
           
private  int parseComplexContent(java.lang.String contentString)
           
private  int parseComplexDerivedBy(java.lang.String derivedByString)
           
private  int parseDerivationSet(java.lang.String finalString)
           
private  int parseFinalSet(java.lang.String finalString)
           
private  int parseInt(java.lang.String intString)
           
private  int parseSimpleDerivedBy(java.lang.String derivedByString)
           
private  int parseSimpleFinal(java.lang.String finalString)
           
private  void reportGenericSchemaError(java.lang.String error)
           
private  void reportSchemaError(int major, java.lang.Object[] args)
           
private  java.lang.String resolvePrefixToURI(java.lang.String prefix)
           
 void setGrammarResolver(org.apache.xerces.validators.common.GrammarResolver grammarResolver)
           
private  void shift(int[] src, int pos, int offset)
          Shifts a value into position.
private  void sort(int[] src, int offset, int length)
          Simple sort.
 void startNamespaceDeclScope(int prefix, int uri)
          startNamespaceDeclScope is called when a new namespace scope is created
private  void swap(int[] src, int i, int j)
          Swaps two values.
(package private)  int traverseAll(org.w3c.dom.Element allDecl)
          Traverse the "All" declaration Content: (annotation? , (element | group | choice | sequence | any)*)
private  void traverseAnnotationDecl(org.w3c.dom.Element comment)
          No-op - Traverse Annotation Declaration
private  int traverseAny(org.w3c.dom.Element child)
           
private  org.apache.xerces.validators.common.XMLAttributeDecl traverseAnyAttribute(org.w3c.dom.Element anyAttributeDecl)
           
private  int traverseAttributeDecl(org.w3c.dom.Element attrDecl, TraverseSchema.ComplexTypeInfo typeInfo)
          Traverses Schema attribute declaration.
private  int traverseAttributeGroupDecl(org.w3c.dom.Element attrGrpDecl, TraverseSchema.ComplexTypeInfo typeInfo, java.util.Vector anyAttDecls)
           
private  int traverseAttributeGroupDeclFromAnotherSchema(java.lang.String attGrpName, java.lang.String uriStr, TraverseSchema.ComplexTypeInfo typeInfo, java.util.Vector anyAttDecls)
           
(package private)  int traverseChoice(org.w3c.dom.Element choiceDecl)
          Traverse the Sequence declaration Content: (annotation? , (element | group | choice | sequence | any)*)
private  int traverseComplexTypeDecl(org.w3c.dom.Element complexTypeDecl)
          Traverse ComplexType Declaration.
private  org.apache.xerces.utils.QName traverseElementDecl(org.w3c.dom.Element elementDecl)
          Traverse element declaration: Content: (annotation? , (simpleType | complexType)? , (unique | key | keyref)*) The following are identity-constraint definitions Content: (annotation? , (selector , field+)) Content: (annotation? , (selector , field+)) Content: (annotation? , (selector , field+)) Content: XPathExprApprox : An XPath expression Content: XPathExprApprox : An XPath expression
private  int traverseGroupDecl(org.w3c.dom.Element groupDecl)
          Traverse Group Declaration.
private  int traverseGroupDeclFromAnotherSchema(java.lang.String groupName, java.lang.String uriStr)
           
private  void traverseImport(org.w3c.dom.Element importDecl)
           
private  void traverseInclude(org.w3c.dom.Element includeDecl)
           
private  void traverseIncludedSchema(org.w3c.dom.Element root)
           
(package private)  int traverseSequence(org.w3c.dom.Element sequenceDecl)
          Traverse the Sequence declaration Content: (annotation? , (element | group | choice | sequence | any)*)
private  int traverseSimpleTypeDecl(org.w3c.dom.Element simpleTypeDecl)
          Traverse SimpleType declaration: Content: ( annotation? , ( minExclusive | minInclusive | maxExclusive | maxInclusive | precision | scale | length | minLength | maxLength | encoding | period | duration | enumeration | pattern )* )
private  int traverseWildcardDecl(org.w3c.dom.Element wildcardDecl)
          Traverse Wildcard declaration Content: (annotation?)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOP_LEVEL_SCOPE

private static final int TOP_LEVEL_SCOPE
See Also:
Constant Field Values

DEBUGGING

private static boolean DEBUGGING

fErrorReporter

private org.apache.xerces.framework.XMLErrorReporter fErrorReporter

fStringPool

private org.apache.xerces.utils.StringPool fStringPool

fGrammarResolver

private org.apache.xerces.validators.common.GrammarResolver fGrammarResolver

fSchemaGrammar

private SchemaGrammar fSchemaGrammar

fSchemaRootElement

private org.w3c.dom.Element fSchemaRootElement

fDatatypeRegistry

private org.apache.xerces.validators.datatype.DatatypeValidatorFactoryImpl fDatatypeRegistry

fComplexTypeRegistry

private java.util.Hashtable fComplexTypeRegistry

fAttributeDeclRegistry

private java.util.Hashtable fAttributeDeclRegistry

fIncludeLocations

private java.util.Vector fIncludeLocations

fImportLocations

private java.util.Vector fImportLocations

fAnonTypeCount

private int fAnonTypeCount

fScopeCount

private int fScopeCount

fCurrentScope

private int fCurrentScope

fSimpleTypeAnonCount

private int fSimpleTypeAnonCount

fCurrentTypeNameStack

private java.util.Stack fCurrentTypeNameStack

fElementRecurseComplex

private java.util.Hashtable fElementRecurseComplex

fElementDefaultQualified

private boolean fElementDefaultQualified

fAttributeDefaultQualified

private boolean fAttributeDefaultQualified

fTargetNSURI

private int fTargetNSURI

fTargetNSURIString

private java.lang.String fTargetNSURIString

fNamespacesScope

private org.apache.xerces.utils.NamespacesScope fNamespacesScope

fCurrentSchemaURL

private java.lang.String fCurrentSchemaURL

fTempAttributeDecl

private org.apache.xerces.validators.common.XMLAttributeDecl fTempAttributeDecl

fTempElementDecl

private org.apache.xerces.validators.common.XMLElementDecl fTempElementDecl

SchemaForSchemaURI

public static final java.lang.String SchemaForSchemaURI
See Also:
Constant Field Values
Constructor Detail

TraverseSchema

private TraverseSchema()

TraverseSchema

public TraverseSchema(org.w3c.dom.Element root,
                      org.apache.xerces.utils.StringPool stringPool,
                      SchemaGrammar schemaGrammar,
                      org.apache.xerces.validators.common.GrammarResolver grammarResolver,
                      org.apache.xerces.framework.XMLErrorReporter errorReporter,
                      java.lang.String schemaURL)
               throws java.lang.Exception

TraverseSchema

public TraverseSchema(org.w3c.dom.Element root,
                      org.apache.xerces.utils.StringPool stringPool,
                      SchemaGrammar schemaGrammar,
                      org.apache.xerces.validators.common.GrammarResolver grammarResolver)
               throws java.lang.Exception
Method Detail

setGrammarResolver

public void setGrammarResolver(org.apache.xerces.validators.common.GrammarResolver grammarResolver)

startNamespaceDeclScope

public void startNamespaceDeclScope(int prefix,
                                    int uri)
Description copied from interface: org.apache.xerces.utils.NamespacesScope.NamespacesHandler
startNamespaceDeclScope is called when a new namespace scope is created

Specified by:
startNamespaceDeclScope in interface org.apache.xerces.utils.NamespacesScope.NamespacesHandler

endNamespaceDeclScope

public void endNamespaceDeclScope(int prefix)
Description copied from interface: org.apache.xerces.utils.NamespacesScope.NamespacesHandler
endNamespaceDeclScope is called when a namespace scope ends

Specified by:
endNamespaceDeclScope in interface org.apache.xerces.utils.NamespacesScope.NamespacesHandler

resolvePrefixToURI

private java.lang.String resolvePrefixToURI(java.lang.String prefix)
                                     throws java.lang.Exception

doTraverseSchema

public void doTraverseSchema(org.w3c.dom.Element root,
                             org.apache.xerces.utils.StringPool stringPool,
                             SchemaGrammar schemaGrammar,
                             org.apache.xerces.validators.common.GrammarResolver grammarResolver)
                      throws java.lang.Exception

checkTopLevelDuplicateNames

private void checkTopLevelDuplicateNames(org.w3c.dom.Element root)

extractTopLevel3Components

private void extractTopLevel3Components(org.w3c.dom.Element root)

expandSystemId

private java.lang.String expandSystemId(java.lang.String systemId,
                                        java.lang.String currentSystemId)
                                 throws java.lang.Exception
Expands a system id and returns the system id as a URL, if it can be expanded. A return value of null means that the identifier is already expanded. An exception thrown indicates a failure to expand the id.


fixURI

private static java.lang.String fixURI(java.lang.String str)
Fixes a platform dependent filename to standard URI form.


traverseInclude

private void traverseInclude(org.w3c.dom.Element includeDecl)
                      throws java.lang.Exception

traverseIncludedSchema

private void traverseIncludedSchema(org.w3c.dom.Element root)
                             throws java.lang.Exception

traverseImport

private void traverseImport(org.w3c.dom.Element importDecl)
                     throws java.lang.Exception

traverseAnnotationDecl

private void traverseAnnotationDecl(org.w3c.dom.Element comment)
No-op - Traverse Annotation Declaration


traverseSimpleTypeDecl

private int traverseSimpleTypeDecl(org.w3c.dom.Element simpleTypeDecl)
                            throws java.lang.Exception
Traverse SimpleType declaration: Content: ( annotation? , ( minExclusive | minInclusive | maxExclusive | maxInclusive | precision | scale | length | minLength | maxLength | encoding | period | duration | enumeration | pattern )* )


traverseAny

private int traverseAny(org.w3c.dom.Element child)
                 throws java.lang.Exception

getDatatypeValidator

public org.apache.xerces.validators.datatype.DatatypeValidator getDatatypeValidator(java.lang.String uri,
                                                                                    java.lang.String localpart)

traverseAnyAttribute

private org.apache.xerces.validators.common.XMLAttributeDecl traverseAnyAttribute(org.w3c.dom.Element anyAttributeDecl)
                                                                           throws java.lang.Exception

mergeTwoAnyAttribute

private org.apache.xerces.validators.common.XMLAttributeDecl mergeTwoAnyAttribute(org.apache.xerces.validators.common.XMLAttributeDecl oneAny,
                                                                                  org.apache.xerces.validators.common.XMLAttributeDecl anotherAny)

intersect2sets

int[] intersect2sets(int[] one,
                     int[] theOther)

traverseComplexTypeDecl

private int traverseComplexTypeDecl(org.w3c.dom.Element complexTypeDecl)
                             throws java.lang.Exception
Traverse ComplexType Declaration. Content: (annotation? , (((minExclusive | minInclusive | maxExclusive | maxInclusive | precision | scale | length | minLength | maxLength | encoding | period | duration | enumeration | pattern)* | (element | group | all | choice | sequence | any)*) , ((attribute | attributeGroup)* , anyAttribute?)))


checkRecursingComplexType

private void checkRecursingComplexType()
                                throws java.lang.Exception

checkParticleDerivationOK

private void checkParticleDerivationOK(org.w3c.dom.Element derivedTypeNode,
                                       org.w3c.dom.Element baseTypeNode)

expandContentModel

private int expandContentModel(int index,
                               org.w3c.dom.Element particle)
                        throws java.lang.Exception

traverseAttributeDecl

private int traverseAttributeDecl(org.w3c.dom.Element attrDecl,
                                  TraverseSchema.ComplexTypeInfo typeInfo)
                           throws java.lang.Exception
Traverses Schema attribute declaration. Content: (annotation? , simpleType?)


addAttributeDeclFromAnotherSchema

private int addAttributeDeclFromAnotherSchema(java.lang.String name,
                                              java.lang.String uriStr,
                                              TraverseSchema.ComplexTypeInfo typeInfo)
                                       throws java.lang.Exception

traverseAttributeGroupDecl

private int traverseAttributeGroupDecl(org.w3c.dom.Element attrGrpDecl,
                                       TraverseSchema.ComplexTypeInfo typeInfo,
                                       java.util.Vector anyAttDecls)
                                throws java.lang.Exception

traverseAttributeGroupDeclFromAnotherSchema

private int traverseAttributeGroupDeclFromAnotherSchema(java.lang.String attGrpName,
                                                        java.lang.String uriStr,
                                                        TraverseSchema.ComplexTypeInfo typeInfo,
                                                        java.util.Vector anyAttDecls)
                                                 throws java.lang.Exception

traverseElementDecl

private org.apache.xerces.utils.QName traverseElementDecl(org.w3c.dom.Element elementDecl)
                                                   throws java.lang.Exception
Traverse element declaration: Content: (annotation? , (simpleType | complexType)? , (unique | key | keyref)*) The following are identity-constraint definitions Content: (annotation? , (selector , field+)) Content: (annotation? , (selector , field+)) Content: (annotation? , (selector , field+)) Content: XPathExprApprox : An XPath expression Content: XPathExprApprox : An XPath expression


getLocalPartIndex

int getLocalPartIndex(java.lang.String fullName)

getLocalPart

java.lang.String getLocalPart(java.lang.String fullName)

getPrefixIndex

int getPrefixIndex(java.lang.String fullName)

getPrefix

java.lang.String getPrefix(java.lang.String fullName)

checkEquivClassOK

private void checkEquivClassOK(org.w3c.dom.Element elementDecl,
                               org.w3c.dom.Element equivClassElementDecl)

getTopLevelComponentByName

private org.w3c.dom.Element getTopLevelComponentByName(java.lang.String componentCategory,
                                                       java.lang.String name)
                                                throws java.lang.Exception

isTopLevel

private boolean isTopLevel(org.w3c.dom.Element component)

getTypeValidatorFromNS

org.apache.xerces.validators.datatype.DatatypeValidator getTypeValidatorFromNS(java.lang.String newSchemaURI,
                                                                               java.lang.String localpart)
                                                                         throws java.lang.Exception

getTypeInfoFromNS

TraverseSchema.ComplexTypeInfo getTypeInfoFromNS(java.lang.String newSchemaURI,
                                                 java.lang.String localpart)
                                           throws java.lang.Exception

getElementDeclTypeValidatorFromNS

org.apache.xerces.validators.datatype.DatatypeValidator getElementDeclTypeValidatorFromNS(java.lang.String newSchemaURI,
                                                                                          java.lang.String localpart)
                                                                                    throws java.lang.Exception

getElementDeclTypeInfoFromNS

TraverseSchema.ComplexTypeInfo getElementDeclTypeInfoFromNS(java.lang.String newSchemaURI,
                                                            java.lang.String localpart)
                                                      throws java.lang.Exception

traverseGroupDecl

private int traverseGroupDecl(org.w3c.dom.Element groupDecl)
                       throws java.lang.Exception
Traverse Group Declaration. Content: (annotation? , (element | group | all | choice | sequence | any)*)


traverseGroupDeclFromAnotherSchema

private int traverseGroupDeclFromAnotherSchema(java.lang.String groupName,
                                               java.lang.String uriStr)
                                        throws java.lang.Exception

traverseSequence

int traverseSequence(org.w3c.dom.Element sequenceDecl)
               throws java.lang.Exception
Traverse the Sequence declaration Content: (annotation? , (element | group | choice | sequence | any)*)


traverseChoice

int traverseChoice(org.w3c.dom.Element choiceDecl)
             throws java.lang.Exception
Traverse the Sequence declaration Content: (annotation? , (element | group | choice | sequence | any)*)


traverseAll

int traverseAll(org.w3c.dom.Element allDecl)
          throws java.lang.Exception
Traverse the "All" declaration Content: (annotation? , (element | group | choice | sequence | any)*)


buildAllModel

private int buildAllModel(int[] children,
                          int count)
                   throws java.lang.Exception
builds the all content model


buildAllModel

private int buildAllModel(int[] src,
                          int offset,
                          org.apache.xerces.framework.XMLContentSpec choice)
                   throws java.lang.Exception
Builds the all model.


createSeq

private int createSeq(int[] src)
               throws java.lang.Exception
Creates a sequence.


shift

private void shift(int[] src,
                   int pos,
                   int offset)
Shifts a value into position.


sort

private void sort(int[] src,
                  int offset,
                  int length)
Simple sort.


swap

private void swap(int[] src,
                  int i,
                  int j)
Swaps two values.


traverseWildcardDecl

private int traverseWildcardDecl(org.w3c.dom.Element wildcardDecl)
                          throws java.lang.Exception
Traverse Wildcard declaration Content: (annotation?)


parseInt

private int parseInt(java.lang.String intString)
              throws java.lang.Exception

parseSimpleDerivedBy

private int parseSimpleDerivedBy(java.lang.String derivedByString)
                          throws java.lang.Exception

parseComplexDerivedBy

private int parseComplexDerivedBy(java.lang.String derivedByString)
                           throws java.lang.Exception

parseSimpleFinal

private int parseSimpleFinal(java.lang.String finalString)
                      throws java.lang.Exception

parseComplexContent

private int parseComplexContent(java.lang.String contentString)
                         throws java.lang.Exception

parseDerivationSet

private int parseDerivationSet(java.lang.String finalString)
                        throws java.lang.Exception

parseBlockSet

private int parseBlockSet(java.lang.String finalString)
                   throws java.lang.Exception

parseFinalSet

private int parseFinalSet(java.lang.String finalString)
                   throws java.lang.Exception

reportGenericSchemaError

private void reportGenericSchemaError(java.lang.String error)
                               throws java.lang.Exception

reportSchemaError

private void reportSchemaError(int major,
                               java.lang.Object[] args)
                        throws java.lang.Exception

main

public static void main(java.lang.String[] args)