org.jbind.xml.core.content
Interface IElemUseState

All Superinterfaces:
IUseState
All Known Subinterfaces:
IElemRefOrDeclUseState, IWildcardUseState
All Known Implementing Classes:
ElemRefOrDeclUseState, ElemUseState, WildcardUseState

public interface IElemUseState
extends IUseState


Method Summary
 IElemDesc getElemDesc()
          Gets the data declaration that corresponds to the current state of the use state object.
 IElemRefOrDecl getSubstitutionHead()
           
 
Methods inherited from interface org.jbind.xml.core.content.IUseState
getContentDesc, getNextUseState, getParent, getUseCounter, isValidEnd, reset
 

Method Detail

getElemDesc

public IElemDesc getElemDesc()
Gets the data declaration that corresponds to the current state of the use state object. The returned data declaration will be used to create the next element. If an element was matched by a wildcard or by a substitute then the resolved element declaration is returned, i.e. the element declaration that is actually used to create a data object.

Returns:
(optional). If the element is to be skipped then null is returned.

getSubstitutionHead

public IElemRefOrDecl getSubstitutionHead()