Top Inners Fields Constructors Methods
org.apache.xerces.impl.xs.traversers

pack-priv abstract Class XSDAbstractParticleTraverser

extends XSDAbstractTraverser
Class Inheritance
Known Direct Subclasses
org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser, org.apache.xerces.impl.xs.traversers.XSDGroupTraverser
Imports
org.apache.xerces.impl.xs.SchemaGrammar, .SchemaSymbols, .XSAnnotationImpl, .XSModelGroupImpl, .XSParticleDecl, org.apache.xerces.impl.xs.util.XInt, .XSObjectListImpl, org.apache.xerces.util.DOMUtil, org.apache.xerces.xs.XSObject, .XSObjectList, org.w3c.dom.Element

Authors
Elena Litani, IBM, Sandy Gao, IBM
Version
$Id: XSDAbstractParticleTraverser.java 1038740 2010-11-24 18:15:44Z mrglavas $

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv XSDAbstractParticleTraverser.ParticleArray
Inherited from org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser:
CHILD_OF_GROUPfAttrCheckerfSchemaHandlerfSymbolTablefValidateAnnotationsfValidationStateGROUP_REF_WITH_ALLNO_NAMENOT_ALL_CONTEXTPROCESSING_ALL_ELPROCESSING_ALL_GP

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected boolean
pack-priv XSParticleDecl
traverseAll(Element allDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent)

Traverse the "All" declaration <all id = ID maxOccurs = 1 : 1 minOccurs = (0 | 1) : 1> Content: (annotation?

pack-priv XSParticleDecl
traverseChoice(Element choiceDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent)

Traverse the Choice declaration <choice id = ID maxOccurs = string minOccurs = nonNegativeInteger> Content: (annotation?

private XSParticleDecl
traverseSeqChoice(Element decl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, boolean
If traversing this parameter is true.
choice
,
XSObject parent)

Common traversal for <choice> and <sequence>

pack-priv XSParticleDecl
traverseSequence(Element seqDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent)

Traverse the Sequence declaration <sequence id = ID maxOccurs = string minOccurs = nonNegativeInteger> Content: (annotation?

Inherited from org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser:
checkNotationTypecheckOccurrencesgetSchemaTypeNamereportSchemaErrorreportSchemaWarningresettraverseAnnotationDecltraverseAttrsAndAttrGrpstraverseFacetstraverseSyntheticAnnotation

Field Detail

fPArrayback to summary
pack-priv XSDAbstractParticleTraverser.ParticleArray fPArray

Constructor Detail

XSDAbstractParticleTraverserback to summary
pack-priv XSDAbstractParticleTraverser(XSDHandler handler, XSAttributeChecker gAttrCheck)

Method Detail

hasAllContentback to summary
protected boolean hasAllContent(XSParticleDecl particle)
traverseAllback to summary
pack-priv XSParticleDecl traverseAll(Element allDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent)

Traverse the "All" declaration <all id = ID maxOccurs = 1 : 1 minOccurs = (0 | 1) : 1> Content: (annotation? , element*) </all>

traverseChoiceback to summary
pack-priv XSParticleDecl traverseChoice(Element choiceDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent)

Traverse the Choice declaration <choice id = ID maxOccurs = string minOccurs = nonNegativeInteger> Content: (annotation? , (element | group | choice | sequence | any)*) </choice>

traverseSeqChoiceback to summary
private XSParticleDecl traverseSeqChoice(Element decl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, boolean choice, XSObject parent)

Common traversal for and

Parameters
choice:boolean

If traversing this parameter is true.

traverseSequenceback to summary
pack-priv XSParticleDecl traverseSequence(Element seqDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags, XSObject parent)

Traverse the Sequence declaration <sequence id = ID maxOccurs = string minOccurs = nonNegativeInteger> Content: (annotation? , (element | group | choice | sequence | any)*) </sequence>

org.apache.xerces.impl.xs.traversers back to summary

pack-priv Class XSDAbstractParticleTraverser.ParticleArray

extends Object
Class Inheritance
  • java.lang.Object
  • org.apache.xerces.impl.xs.traversers.XSDAbstractParticleTraverser.ParticleArray

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv XSParticleDecl[]
pack-priv int[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv int
pack-priv XSParticleDecl[]
pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fContextCountback to summary
pack-priv int fContextCount
fParticlesback to summary
pack-priv XSParticleDecl[] fParticles
fPosback to summary
pack-priv int[] fPos

Constructor Detail

ParticleArrayback to summary
pack-priv ParticleArray()

Method Detail

addParticleback to summary
pack-priv void addParticle(XSParticleDecl particle)
getParticleCountback to summary
pack-priv int getParticleCount()
popContextback to summary
pack-priv XSParticleDecl[] popContext()
pushContextback to summary
pack-priv void pushContext()