fr.inria.oadymppac.parsing.gentra4cp
Class BasicVarDomainEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicVarDomainEvent
All Implemented Interfaces:
java.lang.Cloneable, DTDVarDomainElement, Event, VarDomainAttributes, VarDomainEvent
Direct Known Subclasses:
DefaultVarDomainEvent

public class BasicVarDomainEvent
extends EventImpl
implements VarDomainEvent

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.VarDomainEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.VarDomainAttributes
MAX_NONE, MIN_NONE, SIZE_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDVarDomainElement
MAX, MIN, SIZE, VARDOMAIN
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
BasicVarDomainEvent()
           
 
Method Summary
 int getEventType()
           
 Info getInfo()
           
 int getMax()
           
 int getMin()
           
 int getSize()
           
 void init(ContentHandler handler, org.xml.sax.Attributes atts)
           
 void reset()
           
 void setMax(int max)
           
 void setMin(int min)
           
 void setSize(int size)
           
 
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

BasicVarDomainEvent

public BasicVarDomainEvent()
Method Detail

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

getMax

public int getMax()
Specified by:
getMax in interface VarDomainAttributes
Returns:

getMin

public int getMin()
Specified by:
getMin in interface VarDomainAttributes
Returns:

getSize

public int getSize()
Specified by:
getSize in interface VarDomainAttributes
Returns:

setMax

public void setMax(int max)
Specified by:
setMax in interface VarDomainAttributes
Parameters:
max -

setMin

public void setMin(int min)
Specified by:
setMin in interface VarDomainAttributes
Parameters:
min -

setSize

public void setSize(int size)
Specified by:
setSize in interface VarDomainAttributes
Parameters:
size -

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