fr.inria.oadymppac.parsing.gentra4cp
Class DefaultSolutionEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicEvent
          extended byfr.inria.oadymppac.parsing.gentra4cp.BasicSolutionEvent
              extended byfr.inria.oadymppac.parsing.gentra4cp.DefaultSolutionEvent
All Implemented Interfaces:
ChoiceConstraintEventListener, ChoiceConstraintListProvider, java.lang.Cloneable, DTDEventAttributes, DTDSolutionElement, Event, EventAttributes, java.util.EventListener, EventListener, SolutionAttributes, SolutionEvent, StateEventListener, StateProvider

public class DefaultSolutionEvent
extends BasicSolutionEvent
implements SolutionEvent, StateProvider, StateEventListener, ChoiceConstraintListProvider, ChoiceConstraintEventListener

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.SolutionEvent
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.SolutionAttributes
NODE_NONE, NODENAME_NONE, VALUE_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDSolutionElement
NODE, NODENAME, SOLUTION, VALUE
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.EventListener
logger
 
Constructor Summary
DefaultSolutionEvent()
           
 
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.BasicSolutionEvent
getChrono, getContext, getDepth, getEventType, getFile, getInfo, getLine, getNode, getNodeName, getTime, getValue, init, setChrono, setContext, setDepth, setFile, setLine, setNode, setNodeName, setTime, setValue
 
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.SolutionAttributes
getNode, getNodeName, getValue, setNode, setNodeName, setValue
 
Methods inherited from interface fr.inria.oadymppac.parsing.event.Event
getAnyValue, getEventType, getInfo, getSource, init, init, setSource, terminate
 

Constructor Detail

DefaultSolutionEvent

public DefaultSolutionEvent()
Method Detail

reset

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

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 -

eventProcess

public void eventProcess(ChoiceConstraintEvent ev)
Specified by:
eventProcess in interface ChoiceConstraintEventListener
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 -

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