org.jbind.xml.instance.use
Class AllUseState

java.lang.Object
  extended byorg.jbind.xml.instance.use.ContentUseState
      extended byorg.jbind.xml.instance.use.GroupUseState
          extended byorg.jbind.xml.instance.use.AllUseState
All Implemented Interfaces:
IGroupUseState, IUseState

public class AllUseState
extends GroupUseState


Constructor Summary
AllUseState(IAllDesc aContent, IUseState aParent)
           
 
Method Summary
protected  void doIsValidEnd(IHasLocation aHasLocation)
           
protected  void doReset()
           
 IElemUseState getNextUseState(java.lang.String aNamespace, java.lang.String aName, IAnyType anOverloadingType, IHasLocation aHasLocation)
          Gets the next use state that has a content use for the specified element.
 
Methods inherited from class org.jbind.xml.instance.use.GroupUseState
iterUseStates
 
Methods inherited from class org.jbind.xml.instance.use.ContentUseState
getContentDesc, getParent, getUseCounter, incrementUseCounter, isValidEnd, mayIncrementUseCounter, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.core.content.IUseState
getContentDesc, getParent, getUseCounter, isValidEnd, reset
 

Constructor Detail

AllUseState

public AllUseState(IAllDesc aContent,
                   IUseState aParent)
Method Detail

doReset

protected void doReset()
Overrides:
doReset in class GroupUseState

getNextUseState

public IElemUseState getNextUseState(java.lang.String aNamespace,
                                     java.lang.String aName,
                                     IAnyType anOverloadingType,
                                     IHasLocation aHasLocation)
                              throws XmlException
Description copied from interface: IUseState
Gets the next use state that has a content use for the specified element.

Parameters:
aNamespace - (required).
aName - (required).
Returns:
(optional).
Throws:
XmlException - Raised if this use state needs to return the next use state (e.g. because it is a sequence that has been started) but the specified element does not match.

doIsValidEnd

protected void doIsValidEnd(IHasLocation aHasLocation)
                     throws XmlException
Specified by:
doIsValidEnd in class ContentUseState
Throws:
XmlException