fr.inria.oadymppac.parsing.gentra4cp
Class DefaultDescriptionEvent

java.lang.Object
  extended byfr.inria.oadymppac.parsing.event.EventImpl
      extended byfr.inria.oadymppac.parsing.gentra4cp.DefaultDescriptionEvent
All Implemented Interfaces:
java.lang.Cloneable, DescriptionAttributes, DescriptionEvent, Event

public class DefaultDescriptionEvent
extends EventImpl
implements DescriptionEvent

Author:
raf

Field Summary
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.header.DescriptionEvent
EVENT_TYPE
 
Fields inherited from interface fr.inria.oadymppac.parsing.gentra4cp.event.header.attributes.DescriptionAttributes
DESCRIPTION_NONE
 
Fields inherited from interface fr.inria.oadymppac.parsing.event.Event
logger
 
Constructor Summary
DefaultDescriptionEvent()
           
 
Method Summary
 java.lang.String getDescription()
           
 int getEventType()
           
 Info getInfo()
           
 void init(ContentHandler handler, char[] ch, int start, int length)
           
 void reset()
           
 void setDescription(java.lang.String description)
           
 
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

DefaultDescriptionEvent

public DefaultDescriptionEvent()
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface DescriptionEvent
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface DescriptionEvent
Parameters:
description - The description 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