fr.inria.oadymppac.parsing.gentra4cp
Class BasicCauseEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicCauseEvent
All Implemented Interfaces:
CauseAttributes, CauseEvent, CauseTypeAttribute, java.lang.Cloneable, DTDCauseElement, DTDCauseTypeAttribute, Event
Direct Known Subclasses:
DefaultCauseEvent

public class BasicCauseEvent
extends EventImpl
implements CauseEvent

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.CauseEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.CauseAttributes
VARIABLE_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDCauseElement
CAUSE, VARIABLE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.CauseTypeAttribute
TYPE_ANY, TYPE_EMPTY, TYPE_GROUND, TYPE_MAX, TYPE_MIN, TYPE_MINMAX, TYPE_NONE, TYPE_NOTHING, TYPE_VALUE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDCauseTypeAttribute
ANY, EMPTY, GROUND, MAX, MIN, MINMAX, NOTHING, TYPE, VALUE
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
BasicCauseEvent()
           
 
Method Summary
 int getEventType()
           
 Info getInfo()
           
 short getType()
           
 java.lang.String getVariable()
           
 void init(ContentHandler handler, org.xml.sax.Attributes atts)
           
 void reset()
           
 void setType(short type)
           
 void setVariable(java.lang.String ident)
           
 
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

BasicCauseEvent

public BasicCauseEvent()
Method Detail

getVariable

public java.lang.String getVariable()
Specified by:
getVariable in interface CauseAttributes
Returns:

getInfo

public Info getInfo()
Specified by:
getInfo in interface Event
Returns:
Returns the info.

getType

public short getType()
Specified by:
getType in interface CauseTypeAttribute
Returns:

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

setVariable

public void setVariable(java.lang.String ident)
Specified by:
setVariable in interface CauseAttributes
Parameters:
ident -

setType

public void setType(short type)
Specified by:
setType in interface CauseTypeAttribute
Parameters:
type -

getEventType

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