| java.lang.Object org.apache.xerces.validators.schema.TraverseSchema
TraverseSchema | public class TraverseSchema implements NamespacesScope.NamespacesHandler(Code) | | 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:
author: Eric Ye, IBM author: Jeffrey Rodriguez, IBM author: Andy Clark, IBM See Also: org.apache.xerces.validators.common.Grammar version: $Id: TraverseSchema.java,v 1.242.2.13 2001/11/12 21:58:43 neilg Exp $ |
Inner Class :public class ComplexTypeInfo | |
Inner Class :static class IgnoreWhitespaceParser extends DOMParser | |
Inner Class :public class SchemaInfo | |
Constructor Summary | |
public | TraverseSchema(Element root, StringPool stringPool, SchemaGrammar schemaGrammar, GrammarResolver grammarResolver, XMLErrorReporter errorReporter, String schemaURL, EntityResolver entityResolver, boolean fullChecking, GeneralAttrCheck generalAttrCheck, String externalSchemaLocations, String noNamespaceSchemaLocation) | public | TraverseSchema(Element root, StringPool stringPool, SchemaGrammar schemaGrammar, GrammarResolver grammarResolver, XMLErrorReporter errorReporter, String schemaURL, boolean fullChecking, GeneralAttrCheck generalAttrCheck) | public | TraverseSchema(Element root, StringPool stringPool, SchemaGrammar schemaGrammar, GrammarResolver grammarResolver, boolean fullChecking, GeneralAttrCheck generalAttrCheck) |
Method Summary | |
public void | doTraverseSchema(Element root, StringPool stringPool, SchemaGrammar schemaGrammar, GrammarResolver grammarResolver) | boolean | elementInSet(int ele, int[] set) | public void | endNamespaceDeclScope(int prefix) | public DatatypeValidator | getDatatypeValidator(String uri, String localpart) | ComplexTypeInfo | getElementDeclTypeInfoFromNS(String newSchemaURI, String localpart) | DatatypeValidator | getElementDeclTypeValidatorFromNS(String newSchemaURI, String localpart) | String | getLocalPart(String fullName) | int | getLocalPartIndex(String fullName) | String | getPrefix(String fullName) | int | getPrefixIndex(String fullName) | ComplexTypeInfo | getTypeInfoFromNS(String newSchemaURI, String localpart) | DatatypeValidator | getTypeValidatorFromNS(String newSchemaURI, String localpart) | int[] | intersect2sets(int[] one, int[] theOther) | public int | maxEffectiveTotalRange(int contentSpecIndex) | public int | minEffectiveTotalRange(int contentSpecIndex) | public boolean | particleEmptiable(int contentSpecIndex) | public void | setFullConstraintCheckingEnabled() | public void | setGrammarResolver(GrammarResolver grammarResolver) | public void | startNamespaceDeclScope(int prefix, int uri) | boolean | subset2sets(int[] subSet, int[] superSet) | int | traverseAll(Element allDecl) | int | traverseChoice(Element choiceDecl) | int | traverseSequence(Element sequenceDecl) | int[] | union2sets(int[] one, int[] theOther) |
SchemaForSchemaURI | final public static String SchemaForSchemaURI(Code) | | |
TraverseSchema | public TraverseSchema(Element root, StringPool stringPool, SchemaGrammar schemaGrammar, GrammarResolver grammarResolver, XMLErrorReporter errorReporter, String schemaURL, EntityResolver entityResolver, boolean fullChecking, GeneralAttrCheck generalAttrCheck, String externalSchemaLocations, String noNamespaceSchemaLocation) throws Exception(Code) | | |
elementInSet | boolean elementInSet(int ele, int[] set)(Code) | | |
endNamespaceDeclScope | public void endNamespaceDeclScope(int prefix)(Code) | | |
getElementDeclTypeInfoFromNS | ComplexTypeInfo getElementDeclTypeInfoFromNS(String newSchemaURI, String localpart) throws Exception(Code) | | |
getLocalPartIndex | int getLocalPartIndex(String fullName)(Code) | | |
intersect2sets | int[] intersect2sets(int[] one, int[] theOther)(Code) | | |
maxEffectiveTotalRange | public int maxEffectiveTotalRange(int contentSpecIndex)(Code) | | |
minEffectiveTotalRange | public int minEffectiveTotalRange(int contentSpecIndex)(Code) | | |
particleEmptiable | public boolean particleEmptiable(int contentSpecIndex)(Code) | | |
setFullConstraintCheckingEnabled | public void setFullConstraintCheckingEnabled()(Code) | | |
startNamespaceDeclScope | public void startNamespaceDeclScope(int prefix, int uri)(Code) | | |
subset2sets | boolean subset2sets(int[] subSet, int[] superSet)(Code) | | |
traverseAll | int traverseAll(Element allDecl) throws Exception(Code) | | Traverse the "All" declaration
Content: (annotation? , element*)
|
traverseChoice | int traverseChoice(Element choiceDecl) throws Exception(Code) | | Traverse the Choice declaration
Content: (annotation? , (element | group | choice | sequence | any)*)
|
traverseSequence | int traverseSequence(Element sequenceDecl) throws Exception(Code) | | Traverse the Sequence declaration
Content: (annotation? , (element | group | choice | sequence | any)*)
|
union2sets | int[] union2sets(int[] one, int[] theOther)(Code) | | |
|
|