fr.inria.oadymppac.parsing.gentra4cp
Class DefaultChecksumEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.DefaultChecksumEvent
All Implemented Interfaces:
ChecksumAttributes, ChecksumEvent, java.lang.Cloneable, Event

public class DefaultChecksumEvent
extends EventImpl
implements ChecksumEvent

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.header.ChecksumEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.header.attributes.ChecksumAttributes
CHECKSUM_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
DefaultChecksumEvent()
           
 
Method Summary
 java.lang.String getChecksum()
           
 int getEventType()
           
 Info getInfo()
           
 void init(ContentHandler handler, char[] ch, int start, int length)
           
 void reset()
           
 void setChecksum(java.lang.String checksum)
           
 
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

DefaultChecksumEvent

public DefaultChecksumEvent()
Method Detail

getChecksum

public java.lang.String getChecksum()
Specified by:
getChecksum in interface ChecksumEvent
Returns:
Returns the checksum.

setChecksum

public void setChecksum(java.lang.String checksum)
Specified by:
setChecksum in interface ChecksumEvent
Parameters:
checksum - The checksum to set.

init

public void init(ContentHandler handler,
                 char[] ch,
                 int start,
                 int length)
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

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