fr.inria.oadymppac.parsing.gentra4cp
Class BasicBackToEvent
java.lang.Object
fr.inria.oadymppac.parsing.event.EventImpl
fr.inria.oadymppac.parsing.gentra4cp.BasicEvent
fr.inria.oadymppac.parsing.gentra4cp.BasicBackToEvent
- All Implemented Interfaces:
- BackToAttributes, BackToEvent, java.lang.Cloneable, DTDBackToElement, DTDEventAttributes, Event, EventAttributes
- Direct Known Subclasses:
- DefaultBackToEvent
- public class BasicBackToEvent
- extends BasicEvent
- implements BackToEvent
- Author:
- raf
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event |
logger |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicBackToEvent
public BasicBackToEvent()
getChrono
public int getChrono()
- Specified by:
getChrono
in interface EventAttributes
- Overrides:
getChrono
in class BasicEvent
- Returns:
getContext
public java.lang.String getContext()
- Specified by:
getContext
in interface EventAttributes
- Overrides:
getContext
in class BasicEvent
- Returns:
getDepth
public int getDepth()
- Specified by:
getDepth
in interface EventAttributes
- Overrides:
getDepth
in class BasicEvent
- Returns:
getFile
public java.lang.String getFile()
- Specified by:
getFile
in interface EventAttributes
- Overrides:
getFile
in class BasicEvent
- Returns:
getInfo
public Info getInfo()
- Specified by:
getInfo
in interface Event
- Returns:
- Returns the info.
getLine
public int getLine()
- Specified by:
getLine
in interface EventAttributes
- Overrides:
getLine
in class BasicEvent
- Returns:
getNode
public java.lang.String getNode()
- Specified by:
getNode
in interface BackToAttributes
- Returns:
getNodeBefore
public java.lang.String getNodeBefore()
- Specified by:
getNodeBefore
in interface BackToAttributes
- Returns:
getTime
public long getTime()
- Specified by:
getTime
in interface EventAttributes
- Overrides:
getTime
in class BasicEvent
- Returns:
init
public void init(ContentHandler handler,
org.xml.sax.Attributes atts)
- Specified by:
init
in interface Event
- Overrides:
init
in class BasicEvent
reset
public void reset()
- Specified by:
reset
in interface Event
- Overrides:
reset
in class BasicEvent
setChrono
public void setChrono(int chrono)
- Specified by:
setChrono
in interface EventAttributes
- Overrides:
setChrono
in class BasicEvent
- Parameters:
chrono
-
setContext
public void setContext(java.lang.String context)
- Specified by:
setContext
in interface EventAttributes
- Overrides:
setContext
in class BasicEvent
- Parameters:
context
-
setDepth
public void setDepth(int depth)
- Specified by:
setDepth
in interface EventAttributes
- Overrides:
setDepth
in class BasicEvent
- Parameters:
depth
-
setFile
public void setFile(java.lang.String file)
- Specified by:
setFile
in interface EventAttributes
- Overrides:
setFile
in class BasicEvent
- Parameters:
file
-
setLine
public void setLine(int line)
- Specified by:
setLine
in interface EventAttributes
- Overrides:
setLine
in class BasicEvent
- Parameters:
line
-
setNode
public void setNode(java.lang.String node)
- Specified by:
setNode
in interface BackToAttributes
- Parameters:
node
-
setNodeBefore
public void setNodeBefore(java.lang.String node)
- Specified by:
setNodeBefore
in interface BackToAttributes
- Parameters:
node
-
setTime
public void setTime(long time)
- Specified by:
setTime
in interface EventAttributes
- Overrides:
setTime
in class BasicEvent
- Parameters:
time
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interface Event