Public Member Functions | |
| final int | getMaxOccurs () |
| final int | getMinOccurs () |
| final void | setMaxOccurs (int maxOccurs) |
| final void | setMinOccurs (int minOccurs) |
Static Public Attributes | |
| static int | UNBOUNDED = -1 |
Protected Member Functions | |
| Particle () | |
| Particle (int minOccurs, int maxOccurs) | |
An abstract class that represents an XML Schema Particle This is not an entirely true representation of how XML Schema depicts a "particle" since this representation of a particle does not hold the "term" component (element, all, choice, sequence, group, any) but rather the "term" extends this class.
| org.exolab.castor.xml.schema.Particle.Particle | ( | ) | [protected] |
Default Constructor, uses a default minimum occurance of 1, and a default unbounded maximum occurance
| org.exolab.castor.xml.schema.Particle.Particle | ( | int | minOccurs, | |
| int | maxOccurs | |||
| ) | [protected] |
Constructor for Particle which allows setting the values for maximum and minimum occurances
| minOccurs | the minimum occurance | |
| maxOccurs | the maximum occurance ( -1 for unbounded) |
References org.exolab.castor.xml.schema.Particle.setMaxOccurs(), and org.exolab.castor.xml.schema.Particle.setMinOccurs().
| final int org.exolab.castor.xml.schema.Particle.getMaxOccurs | ( | ) |
Returns the maximum number of occurances that this CMParticle may appear
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfoForAny(), org.exolab.castor.builder.binding.XMLBindingComponent.createGroupItem(), org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.xml.schema.Group.enumerate(), org.exolab.castor.xml.schema.ComplexType.getMaxOccurs(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller(), and org.exolab.castor.xml.schema.ElementDecl.validate().
| final int org.exolab.castor.xml.schema.Particle.getMinOccurs | ( | ) |
Returns the minimum number of occurances that this CMParticle must appear
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfoForAny(), org.exolab.castor.xml.schema.Group.enumerate(), org.exolab.castor.xml.schema.ComplexType.getMinOccurs(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller(), and org.exolab.castor.xml.schema.ElementDecl.validate().
| final void org.exolab.castor.xml.schema.Particle.setMaxOccurs | ( | int | maxOccurs | ) |
Sets the maximum number of occurances that this CMParticle must appear within it's parent context
| maxOccurs | the maximum number of occurances that this CMParticle may appear within it's parent context (-1 for unbounded) |
Referenced by org.exolab.castor.xml.dtd.Converter.convertContentParticle(), org.exolab.castor.xml.dtd.Converter.convertDTDElementToSchemaElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.ElementUnmarshaller(), org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.endElement(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller(), org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.ModelGroupUnmarshaller(), and org.exolab.castor.xml.schema.Particle.Particle().
| final void org.exolab.castor.xml.schema.Particle.setMinOccurs | ( | int | minOccurs | ) |
Sets the minimum number of occurances that this CMParticle must appear within it's parent context
| minOccurs | the number of occurances that this CMParticle must appeae within it's parent context |
Referenced by org.exolab.castor.xml.dtd.Converter.convertContentParticle(), org.exolab.castor.xml.dtd.Converter.convertDTDElementToSchemaElement(), org.exolab.castor.xml.schema.reader.ElementUnmarshaller.ElementUnmarshaller(), org.exolab.castor.xml.schema.reader.GroupUnmarshaller.GroupUnmarshaller(), org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init(), org.exolab.castor.xml.schema.reader.ModelGroupUnmarshaller.ModelGroupUnmarshaller(), and org.exolab.castor.xml.schema.Particle.Particle().
int org.exolab.castor.xml.schema.Particle.UNBOUNDED = -1 [static] |
A constant to represent an UNBOUNDED particle
1.7.0