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


Method Summary
 IElemRefOrDecl getSubstitute(java.lang.String aNamespace, java.lang.String aName)
          Gets an element declaration that can be substituted for this element declaration.
 IElemDecl getSubstitutionGroup()
           
 java.util.Iterator iterSubstitutes()
          Iterates the possible substitutes for this declaration.
 
Methods inherited from interface org.jbind.xml.core.content.IDataRefOrDecl
addValueConstraints
 
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.core.content.IDataDesc
checkValueConstraints, createData, createEmptyData, createUncheckedData, getDefault, getFixed, getType, isActive, isActive
 
Methods inherited from interface org.jbind.xml.core.bridge.IDefaultTextContentProvider
getDefaultTextContent
 
Methods inherited from interface org.jbind.xml.core.content.IElemDesc
checkIdentityConstraints, isAbstract, isNillable
 
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.base.IHasRange
getRange
 

Method Detail

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.