fr.inria.oadymppac.parsing.gentra4cp.event
Class BasicEvent
java.lang.Object
fr.inria.oadymppac.parsing.event.AbstractEvent
fr.inria.oadymppac.parsing.gentra4cp.event.BasicEvent
- All Implemented Interfaces:
- DTDEventAttributes, Event, EventAttributes
- Direct Known Subclasses:
- DefaultNewVariableEvent
- public abstract class BasicEvent
- extends AbstractEvent
- implements EventAttributes
- Author:
- raf
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicEvent
public BasicEvent()
getChrono
public int getChrono()
- Specified by:
getChrono
in interface EventAttributes
- Returns:
getContext
public java.lang.String getContext()
- Specified by:
getContext
in interface EventAttributes
- Returns:
getDepth
public int getDepth()
- Specified by:
getDepth
in interface EventAttributes
- Returns:
getFile
public java.lang.String getFile()
- Specified by:
getFile
in interface EventAttributes
- Returns:
getLine
public int getLine()
- Specified by:
getLine
in interface EventAttributes
- Returns:
getTime
public long getTime()
- Specified by:
getTime
in interface EventAttributes
- Returns:
init
public void init(ContentHandler handler,
org.xml.sax.Attributes atts)
- Specified by:
init
in interface Event
- Overrides:
init
in class AbstractEvent
reset
public void reset()
- Specified by:
reset
in interface Event
- Overrides:
reset
in class AbstractEvent
setChrono
public void setChrono(int chrono)
- Specified by:
setChrono
in interface EventAttributes
- Parameters:
chrono
-
setContext
public void setContext(java.lang.String context)
- Specified by:
setContext
in interface EventAttributes
- Parameters:
context
-
setDepth
public void setDepth(int depth)
- Specified by:
setDepth
in interface EventAttributes
- Parameters:
depth
-
setFile
public void setFile(java.lang.String file)
- Specified by:
setFile
in interface EventAttributes
- Parameters:
file
-
setLine
public void setLine(int line)
- Specified by:
setLine
in interface EventAttributes
- Parameters:
line
-
setTime
public void setTime(long time)
- Specified by:
setTime
in interface EventAttributes
- Parameters:
time
-
getValue
public java.lang.String getValue(java.lang.String name)
- Specified by:
getValue
in interface Event
- Overrides:
getValue
in class AbstractEvent