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