APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.org.apache.xerces.internal.impl.xs.traversers

pack-priv abstract Class XSDAbstractParticleTraverser

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

Authors
Elena Litani, IBM, Sandy Gao, IBM

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class

Field Summary

Modifier and TypeField and Description
pack-priv XSDAbstractParticleTraverser.ParticleArray
Inherited from com.sun.org.apache.xerces.internal.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 <choice> 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 com.sun.org.apache.xerces.internal.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 <choice> and <sequence>

Parameters
choice:boolean

If traversing <choice> 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>

com.sun.org.apache.xerces.internal.impl.xs.traversers back to summary

protected Class XSDAbstractParticleTraverser.ParticleArray

extends Object
Class Inheritance
  • java.lang.Object
  • com.sun.org.apache.xerces.internal.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
protected

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
protected 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()