org.jbind.xml.core.content
Interface IElemGroupDesc

All Superinterfaces:
IComponent, IContentDesc, IHasBindingAttributes, IHasLocation, IHasRange, ISourceInfo
All Known Subinterfaces:
IAllDecl, IAllDesc, IAllRef, IChoiceDecl, IChoiceDesc, IChoiceRef, IElemGroupDecl, IElemGroupRef, ISequenceDecl, ISequenceDesc, ISequenceRef
All Known Implementing Classes:
AllDecl, ChoiceDecl, ElemGroupDesc, SequenceDecl

public interface IElemGroupDesc
extends IContentDesc


Method Summary
 void add(IContentDesc aContent)
           
 IElemGroupDesc createGroup()
          Creates a group that has the same range and compositor like this group but contains no content.
 IElemGroupDesc createGroup(IRange aRange)
          Creates a group that has the same compositor like this group and the specified range.
 IElemGroupDesc createReference(ISourceInfo aSourceInfo, IRange aRange)
           
 Compositor getCompositor()
          Gets the compositor.
 IRange getInnerRange(IRef aRef)
           
 int getNbParticles()
           
 boolean isPointless(IElemGroupDesc aParent)
           
 java.util.Iterator iterContent()
           
 IContentDesc removePointlessGroups()
           
 IElemGroupDesc replaceSubstitutionsByChoice()
           
 
Methods inherited from interface org.jbind.xml.core.content.IContentDesc
addToParent, collectElemDescs, createUseState, createUseStateProxy, getDesc, getMaxOccurs, getMinOccurs, getRange, isEmptiable, isUnbounded, replaceSubstitutions
 
Methods inherited from interface org.jbind.xml.core.cmp.IComponent
accept, addSubComponent, getBindings, getGlobalRef, getName, getNamespace, getParentComponent, getSymbolspace, isAnonymous, isReference, isTopLevelComponent, setBindings, setParentComponent, validate
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 
Methods inherited from interface org.jbind.xml.base.IHasRange
getRange
 

Method Detail

iterContent

public java.util.Iterator iterContent()

add

public void add(IContentDesc aContent)

createReference

public IElemGroupDesc createReference(ISourceInfo aSourceInfo,
                                      IRange aRange)

createGroup

public IElemGroupDesc createGroup()
Creates a group that has the same range and compositor like this group but contains no content.

Returns:
(required).

createGroup

public IElemGroupDesc createGroup(IRange aRange)
Creates a group that has the same compositor like this group and the specified range.

Parameters:
aRange - (required).
Returns:
(required).

getNbParticles

public int getNbParticles()

getCompositor

public Compositor getCompositor()
Gets the compositor.

Returns:
(required).

isPointless

public boolean isPointless(IElemGroupDesc aParent)

replaceSubstitutionsByChoice

public IElemGroupDesc replaceSubstitutionsByChoice()

removePointlessGroups

public IContentDesc removePointlessGroups()

getInnerRange

public IRange getInnerRange(IRef aRef)