fr.inria.oadymppac.parsing.gentra4cp
Class DefaultPacketEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.DefaultPacketEvent
All Implemented Interfaces:
java.lang.Cloneable, DTDPacketElement, Event, PacketAttributes, PacketEvent

public class DefaultPacketEvent
extends EventImpl
implements PacketEvent

Author:
raf To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.PacketEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.attributes.PacketAttributes
CONTROL_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.dtd.DTDPacketElement
CONTROL, PACKET
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
DefaultPacketEvent()
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getControl()
           
 int getEventType()
           
 Info getInfo()
           
 void init(ContentHandler handler, org.xml.sax.Attributes atts)
           
 void reset()
           
 void setControl(java.lang.String control)
           
 
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

DefaultPacketEvent

public DefaultPacketEvent()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

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

getControl

public java.lang.String getControl()
Specified by:
getControl in interface PacketAttributes
Returns:

setControl

public void setControl(java.lang.String control)
Specified by:
setControl in interface PacketAttributes

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