fr.inria.oadymppac.parsing.gentra4cp
Class DefaultRangeEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.DefaultRangeEvent
All Implemented Interfaces:
java.lang.Cloneable, DTDRangeElement, Event, IntRangeAttributes, RangeAttributes, RangeEvent
Direct Known Subclasses:
CauseRangeEvent, ConstraintUpdateRangeEvent, DefaultNewVariableRangeEvent, DeltaRangeEvent, ExplanationRangeEvent, StateConstraintRangeEvent, StateUpdateRangeEvent, StateVariableRangeEvent, UpdateRangeEvent, VarDomainRangeEvent, VariableRangeEvent

public class DefaultRangeEvent
extends EventImpl
implements RangeEvent, IntRangeAttributes

Author:
raf To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.RangeEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.RangeAttributes
FROM_NONE, TO_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDRangeElement
FROM, RANGE, TO
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.IntRangeAttributes
INT_FROM_NONE, INT_TO_NONE
 
Constructor Summary
DefaultRangeEvent()
           
 
Method Summary
 java.lang.Object clone()
           
 int getEventType()
           
 int getFrom()
           
 Info getInfo()
           
 int getTo()
           
 void init(ContentHandler handler, org.xml.sax.Attributes atts)
           
 void reset()
           
 void setFrom(int from)
           
 void setTo(int to)
           
 
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.event.Event
getAnyValue, getSource, init, setSource, terminate
 

Constructor Detail

DefaultRangeEvent

public DefaultRangeEvent()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

init

public void init(ContentHandler handler,
                 org.xml.sax.Attributes atts)
Specified by:
init in interface Event
Overrides:
init in class EventImpl

reset

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

getFrom

public int getFrom()
Specified by:
getFrom in interface RangeAttributes
Returns:

getTo

public int getTo()
Specified by:
getTo in interface RangeAttributes
Returns:

setFrom

public void setFrom(int from)
Specified by:
setFrom in interface RangeAttributes
Parameters:
from -

setTo

public void setTo(int to)
Specified by:
setTo in interface RangeAttributes
Parameters:
to -

getInfo

public Info getInfo()
             throws java.lang.CloneNotSupportedException
Specified by:
getInfo in interface Event
Throws:
java.lang.CloneNotSupportedException

getEventType

public int getEventType()
Specified by:
getEventType in interface Event