Public Member Functions | |
void | addElementDecl (ElementDecl elementDecl) throws SchemaException |
boolean | removeElementDecl (ElementDecl elementDecl) |
void | addGroup (Group group) throws SchemaException |
boolean | removeGroup (Group group) |
void | addGroup (ModelGroup group) throws SchemaException |
boolean | removeGroup (ModelGroup group) |
void | addWildcard (Wildcard wilcard) throws SchemaException |
boolean | removeWildcard (Wildcard wildcard) |
Enumeration | enumerate () |
ElementDecl | getElementDecl (String name) |
int | getMaxOccurs () |
int | getMinOccurs () |
int | getParticleCount () |
Particle | getParticle (int index) |
An XML Schema ModelGroup
void org.exolab.castor.xml.schema.ContentModelGroup.addElementDecl | ( | ElementDecl | elementDecl | ) | throws SchemaException |
Adds the given ElementDecl to this ContentModelGroup
elementDecl | the ElementDecl to add |
SchemaException | when an ElementDecl already exists with the same name as the given ElementDecl |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.addElementDecl(), and org.exolab.castor.xml.schema.ComplexType.addElementDecl().
void org.exolab.castor.xml.schema.ContentModelGroup.addGroup | ( | ModelGroup | group | ) | throws SchemaException |
Adds the given ModelGroup Definition to this ContentModelGroup
group | the ModelGroup to add |
SchemaException | when a group with the same name as the specified group already exists in the current scope |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
void org.exolab.castor.xml.schema.ContentModelGroup.addGroup | ( | Group | group | ) | throws SchemaException |
Adds the given Group to this ContentModelGroup
group | the Group to add |
SchemaException | when a group with the same name as the specified group already exists in the current scope |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.addGroup(), and org.exolab.castor.xml.schema.ComplexType.addGroup().
void org.exolab.castor.xml.schema.ContentModelGroup.addWildcard | ( | Wildcard | wilcard | ) | throws SchemaException |
Adds the given wildcard to this ContentModelGroup
wilcard | the wilcard to add |
SchemaException | when the wilcard is <anyAttribute> and not <any> |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.addWildcard().
Enumeration org.exolab.castor.xml.schema.ContentModelGroup.enumerate | ( | ) |
Returns an enumeration of all the Particles contained within this ContentModelGroup
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.ModelGroup.enumerate(), org.exolab.castor.xml.schema.Group.enumerate(), org.exolab.castor.xml.schema.ComplexType.enumerate(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaMemberName(), org.exolab.castor.xml.schema.Group.hasAny(), org.exolab.castor.xml.schema.ComplexType.hasAny(), org.exolab.castor.xml.schema.Group.validate(), and org.exolab.castor.xml.schema.ComplexType.validate().
ElementDecl org.exolab.castor.xml.schema.ContentModelGroup.getElementDecl | ( | String | name | ) |
Returns the element declaration with the given name, or null if no element declaration with that name exists in this ContentModelGroup.
name | the name of the element. |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.getElementDecl(), and org.exolab.castor.xml.schema.ComplexType.getElementDecl().
int org.exolab.castor.xml.schema.ContentModelGroup.getMaxOccurs | ( | ) |
Returns the maximum number of occurances that this ContentModelGroup may appear
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.enumerate(), org.exolab.castor.xml.schema.ComplexType.getMaxOccurs(), org.exolab.castor.xml.schema.Group.getOrder(), org.exolab.castor.xml.schema.Group.getParticle(), org.exolab.castor.xml.schema.Group.getParticleCount(), org.exolab.castor.xml.schema.ModelGroup.validate(), and org.exolab.castor.xml.schema.Group.validate().
int org.exolab.castor.xml.schema.ContentModelGroup.getMinOccurs | ( | ) |
Returns the minimum number of occurances that this ContentModelGroup must appear
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.enumerate(), org.exolab.castor.xml.schema.ComplexType.getMinOccurs(), org.exolab.castor.xml.schema.Group.getOrder(), org.exolab.castor.xml.schema.Group.getParticle(), org.exolab.castor.xml.schema.Group.getParticleCount(), org.exolab.castor.xml.schema.ModelGroup.validate(), and org.exolab.castor.xml.schema.Group.validate().
Particle org.exolab.castor.xml.schema.ContentModelGroup.getParticle | ( | int | index | ) |
Returns the Particle at the specified index
index | the index of the particle to return |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.enumerate(), org.exolab.castor.xml.schema.ComplexType.getMaxOccurs(), org.exolab.castor.xml.schema.ComplexType.getMinOccurs(), org.exolab.castor.xml.schema.Group.getOrder(), org.exolab.castor.xml.schema.Group.getParticle(), org.exolab.castor.xml.schema.ComplexType.getParticle(), and org.exolab.castor.xml.schema.Group.getParticleCount().
int org.exolab.castor.xml.schema.ContentModelGroup.getParticleCount | ( | ) |
Returns the number of particles contained within this ContentModelGroup
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.enumerate(), org.exolab.castor.xml.schema.ComplexType.getMaxOccurs(), org.exolab.castor.xml.schema.ComplexType.getMinOccurs(), org.exolab.castor.xml.schema.Group.getOrder(), org.exolab.castor.xml.schema.Group.getParticle(), org.exolab.castor.xml.schema.Group.getParticleCount(), and org.exolab.castor.xml.schema.ComplexType.getParticleCount().
boolean org.exolab.castor.xml.schema.ContentModelGroup.removeElementDecl | ( | ElementDecl | elementDecl | ) |
Removes the given ElementDecl from this ContentModelGroup.
elementDecl | the ElementDecl to remove. |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.removeElementDecl(), and org.exolab.castor.xml.schema.ComplexType.removeElementDecl().
boolean org.exolab.castor.xml.schema.ContentModelGroup.removeGroup | ( | Group | group | ) |
Removes the given Group from this ContentModelGroup.
group | the Group to remove. |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.removeGroup(), and org.exolab.castor.xml.schema.ComplexType.removeGroup().
boolean org.exolab.castor.xml.schema.ContentModelGroup.removeGroup | ( | ModelGroup | group | ) |
Removes the given ModelGroup Definition from this ContentModelGroup.
group | the ModelGroup Definition to remove. |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
boolean org.exolab.castor.xml.schema.ContentModelGroup.removeWildcard | ( | Wildcard | wildcard | ) |
Removes the given Wildcard from this ContentModelGroup.
group | the Wilcard to remove. |
Implemented in org.exolab.castor.xml.schema.ContentModelGroupImpl.
Referenced by org.exolab.castor.xml.schema.Group.removeWildcard().