fr.inria.oadymppac.parsing.gentra4cp
Class DefaultChoicePointEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicEvent
          extended byfr.inria.oadymppac.parsing.gentra4cp.BasicChoicePointEvent
              extended byfr.inria.oadymppac.parsing.gentra4cp.DefaultChoicePointEvent
All Implemented Interfaces:
ChoiceConstraintEventListener, ChoiceConstraintListProvider, ChoicePointAttributes, ChoicePointEvent, java.lang.Cloneable, DTDChoicePointElement, DTDEventAttributes, Event, EventAttributes, java.util.EventListener, EventListener, StateEventListener, StateProvider

public class DefaultChoicePointEvent
extends BasicChoicePointEvent
implements ChoicePointEvent, StateProvider, StateEventListener, ChoiceConstraintListProvider, ChoiceConstraintEventListener

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.ChoicePointEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.EventAttributes
CHRONO_NONE, CONTEXT_NONE, DEPTH_NONE, FILE_NONE, LINE_NONE, TIME_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDEventAttributes
CHRONO, CONTEXT, DEPTH, FILE, LINE, TIME
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.ChoicePointAttributes
NODE_NONE, NODENAME_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDChoicePointElement
CHOICEPOINT, NODE, NODENAME
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.EventListener
logger
 
Constructor Summary
DefaultChoicePointEvent()
           
 
Method Summary
 void eventProcess(ChoiceConstraintEvent ev)
           
 void eventProcess(Event e)
           
 void eventProcess(StateEvent ev)
           
 ChoiceConstraintListInfo getChoiceConstraintList()
           
 StateInfo getState()
           
 void processEnd()
           
 void processInstruction(java.lang.String target, java.lang.String data)
           
 void processStart()
           
 void reset()
           
 void setChoiceConstraintList(ChoiceConstraintListInfo constraintList)
           
 void setState(StateInfo state)
           
 
Methods inherited from class fr.inria.oadymppac.parsing.gentra4cp.BasicChoicePointEvent
getChrono, getContext, getDepth, getEventType, getFile, getInfo, getLine, getNode, getNodeName, getTime, init, setChrono, setContext, setDepth, setFile, setLine, setNode, setNodeName, setTime
 
Methods inherited from class fr.inria.oadymppac.parsing.event.EventImpl
getAllAttributes, getAnyValue, getSource, init, setAllAttributes, setSource, terminate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.EventAttributes
getChrono, getContext, getDepth, getFile, getLine, getTime, setChrono, setContext, setDepth, setFile, setLine, setTime
 
Methods inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.ChoicePointAttributes
getNode, getNodeName, setNode, setNodeName
 
Methods inherited from interface fr.inria.oadymppac.parsing.event.Event
getAnyValue, getEventType, getInfo, getSource, init, init, setSource, terminate
 

Constructor Detail

DefaultChoicePointEvent

public DefaultChoicePointEvent()
Method Detail

reset

public void reset()
Specified by:
reset in interface Event
Overrides:
reset in class BasicChoicePointEvent

eventProcess

public void eventProcess(Event e)
Specified by:
eventProcess in interface EventListener

getState

public StateInfo getState()
Specified by:
getState in interface StateProvider
Returns:

setState

public void setState(StateInfo state)
Specified by:
setState in interface StateProvider
Parameters:
state -

eventProcess

public void eventProcess(StateEvent ev)
Specified by:
eventProcess in interface StateEventListener
Parameters:
ev -

getChoiceConstraintList

public ChoiceConstraintListInfo getChoiceConstraintList()
Specified by:
getChoiceConstraintList in interface ChoiceConstraintListProvider
Returns:

setChoiceConstraintList

public void setChoiceConstraintList(ChoiceConstraintListInfo constraintList)
Specified by:
setChoiceConstraintList in interface ChoiceConstraintListProvider
Parameters:
constraintList -

eventProcess

public void eventProcess(ChoiceConstraintEvent ev)
Specified by:
eventProcess in interface ChoiceConstraintEventListener
Parameters:
ev -

processEnd

public void processEnd()
Specified by:
processEnd in interface EventListener

processInstruction

public void processInstruction(java.lang.String target,
                               java.lang.String data)
Specified by:
processInstruction in interface EventListener

processStart

public void processStart()
Specified by:
processStart in interface EventListener