ComplexType, ContentModelGroupImpl, Group, ModelGrouppublic interface ContentModelGroup
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addElementDecl(ElementDecl elementDecl) | Adds the given ElementDecl to this ContentModelGroup. | 
| void | addGroup(Group group) | Adds the given  Groupto thisContentModelGroup. | 
| void | addGroup(ModelGroup group) | Adds the given  ModelGroupdefinition to thisContentModelGroup. | 
| void | addWildcard(Wildcard wilcard) | Adds the given  Wildcardto thisContentModelGroup. | 
| java.util.Enumeration | enumerate() | Returns an enumeration of all the  Particles contained
 within thisContentModelGroup. | 
| ElementDecl | getElementDecl(java.lang.String name) | Returns the element declaration with the given name, or null if no
 element declaration with that name exists in this 
  ContentModelGroup. | 
| int | getMaxOccurs() | Returns the maximum number of occurrences that this ContentModelGroup
 may appear. | 
| int | getMinOccurs() | Returns the minimum number of occurrences that this ContentModelGroup
 must appear. | 
| Particle | getParticle(int index) | Returns the  Particleat the specified index. | 
| int | getParticleCount() | Returns the number of particles contained within
 this  ContentModelGroup. | 
| boolean | removeElementDecl(ElementDecl elementDecl) | Removes the given ElementDecl from this ContentModelGroup. | 
| boolean | removeGroup(Group group) | Removes the given  Groupfrom thisContentModelGroup. | 
| boolean | removeGroup(ModelGroup group) | Removes the given  ModelGroupdefinition from thisContentModelGroup. | 
| boolean | removeWildcard(Wildcard wildcard) | Removes the given  Wildcardfrom thisContentModelGroup. | 
void addElementDecl(ElementDecl elementDecl) throws SchemaException
elementDecl - the ElementDecl to addSchemaException - when an ElementDecl already
 exists with the same name as the given ElementDeclboolean removeElementDecl(ElementDecl elementDecl)
elementDecl - the ElementDecl to remove.void addGroup(Group group) throws SchemaException
Group to this ContentModelGroup.group - the Group to addSchemaException - when a group with the same name as the
 specified group already exists in the current scopeboolean removeGroup(Group group)
Group from this ContentModelGroup.group - the Group to remove.void addGroup(ModelGroup group) throws SchemaException
ModelGroup definition to this ContentModelGroup.group - the ModelGroup to addSchemaException - when a group with the same name as the
 specified group already exists in the current scopeboolean removeGroup(ModelGroup group)
ModelGroup definition from this ContentModelGroup.group - the ModelGroup definition to remove.void addWildcard(Wildcard wilcard) throws SchemaException
Wildcard to this ContentModelGroup.wilcard - the Wildcard to addSchemaException - when the Wildcard is <anyAttribute> and
 not <any>boolean removeWildcard(Wildcard wildcard)
Wildcard from this ContentModelGroup.java.util.Enumeration enumerate()
Particles contained
 within this ContentModelGroup.Particles contained
 within this ContentModelGroupElementDecl getElementDecl(java.lang.String name)
ContentModelGroup.name - the name of the element.ElementDecl with the given name, or null if no
 ElementDecl exists in this ContentModelGroup.int getMaxOccurs()
int getMinOccurs()
int getParticleCount()
ContentModelGroup.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com