fr.inria.oadymppac.parsing.gentra4cp
Class DefaultAnnotationEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.BasicEvent
          extended byfr.inria.oadymppac.parsing.gentra4cp.BasicAnnotationEvent
              extended byfr.inria.oadymppac.parsing.gentra4cp.DefaultAnnotationEvent
All Implemented Interfaces:
AnnotationAttributes, AnnotationCommandEventListener, AnnotationCommandProvider, AnnotationEvent, AnnotationTypeAttribute, java.lang.Cloneable, DTDAnnotationElement, DTDAnnotationTypeAttribute, DTDEventAttributes, Event, EventAttributes, java.util.EventListener, EventListener

public class DefaultAnnotationEvent
extends BasicAnnotationEvent
implements AnnotationEvent, AnnotationCommandProvider, AnnotationCommandEventListener

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.AnnotationEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.EventAttributes
CHRONO_NONE, CONTEXT_NONE, DEPTH_NONE, FILE_NONE, LINE_NONE, TIME_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDEventAttributes
CHRONO, CONTEXT, DEPTH, FILE, LINE, TIME
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.AnnotationAttributes
IDENTIFIER_NONE, NAME_NONE, REFERENCES_NONE, REFERENCES_SEPARATOR
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDAnnotationElement
ANNOTATION, IDENTIFIER, NAME, REFERENCES
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.AnnotationTypeAttribute
TYPE_COMMAND, TYPE_NONE, TYPE_OBJECT
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDAnnotationTypeAttribute
COMMAND, OBJECT, TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.EventListener
logger
 
Constructor Summary
DefaultAnnotationEvent()
           
 
Method Summary
 void eventProcess(AnnotationCommandEvent ev)
           
 void eventProcess(Event ev)
           
 AnnotationCommandInfo getCommand()
           
 void processEnd()
           
 void processInstruction(java.lang.String target, java.lang.String data)
           
 void processStart()
           
 void reset()
           
 void setCommand(AnnotationCommandInfo command)
           
 
Methods inherited from class fr.inria.oadymppac.parsing.gentra4cp.BasicAnnotationEvent
getChrono, getContext, getDepth, getEventType, getFile, getIdentifier, getInfo, getLine, getName, getReferences, getTime, getType, init, setChrono, setContext, setDepth, setFile, setIdentifier, setLine, setName, setReferences, setTime, setType
 
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.gentra4cp.event.attributes.EventAttributes
getChrono, getContext, getDepth, getFile, getLine, getTime, setChrono, setContext, setDepth, setFile, setLine, setTime
 
Methods inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.AnnotationAttributes
getIdentifier, getName, getReferences, setIdentifier, setName, setReferences
 
Methods inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.AnnotationTypeAttribute
getType, setType
 
Methods inherited from interface fr.inria.oadymppac.parsing.event.Event
getAnyValue, getEventType, getInfo, getSource, init, init, setSource, terminate
 

Constructor Detail

DefaultAnnotationEvent

public DefaultAnnotationEvent()
Method Detail

getCommand

public AnnotationCommandInfo getCommand()
Specified by:
getCommand in interface AnnotationCommandProvider
Returns:

setCommand

public void setCommand(AnnotationCommandInfo command)
Specified by:
setCommand in interface AnnotationCommandProvider
Parameters:
command -

reset

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

eventProcess

public void eventProcess(AnnotationCommandEvent ev)
Specified by:
eventProcess in interface AnnotationCommandEventListener

eventProcess

public void eventProcess(Event ev)
Specified by:
eventProcess in interface EventListener

processEnd

public void processEnd()
Specified by:
processEnd in interface EventListener

processInstruction

public void processInstruction(java.lang.String target,
                               java.lang.String data)
Specified by:
processInstruction in interface EventListener

processStart

public void processStart()
Specified by:
processStart in interface EventListener