org.jbind.xml.core.content
Interface IElemRefOrDecl
- All Superinterfaces:
- IComponent, IContentDesc, IDataDesc, IDataRefOrDecl, IDefaultTextContentProvider, IElemDesc, IHasBindingAttributes, IHasLocation, IHasRange, ISourceInfo
- All Known Subinterfaces:
- IElemDecl, IElemRef
- All Known Implementing Classes:
- ElemDecl, ElemRef, ElemRefOrDecl
- public interface IElemRefOrDecl
- extends IDataRefOrDecl, IElemDesc
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.content.IContentDesc |
addToParent, collectElemDescs, createUseState, createUseStateProxy, getDesc, getMaxOccurs, getMinOccurs, getRange, isEmptiable, isUnbounded, replaceSubstitutions |
getSubstitutionGroup
public IElemDecl getSubstitutionGroup()
getSubstitute
public IElemRefOrDecl getSubstitute(java.lang.String aNamespace,
java.lang.String aName)
- Gets an element declaration that can be substituted for this element declaration.
- Parameters:
aNamespace
- (required). The namespace of the substituting declaration.aName
- (required). The name of the substituting declaration.
- Returns:
- (optional).
iterSubstitutes
public java.util.Iterator iterSubstitutes()
- Iterates the possible substitutes for this declaration.
- Returns:
- (required). An iterator of
IElemRefOrDecl
.