public interface IlvActivityReader
IlvActivityReader
defines an activity reader.
It reads an activity
from a given Element
.
The reader is used in an IlvGanttDocumentReader
.Modifier and Type | Method and Description |
---|---|
IlvTimeReader |
getTimeReader()
Returns the time reader that is used to read the start time and the end
time of the activity.
|
IlvActivity |
readActivity(Element elem,
IlvGanttDocumentReader.Context readContext)
Reads an activity from a given
Element . |
void |
setTimeReader(IlvTimeReader reader)
Sets the time reader that is used to read the start time and the end time
of the activity.
|
IlvActivity readActivity(Element elem, IlvGanttDocumentReader.Context readContext) throws IlvGanttReaderException
Element
.elem
- The given element to read from.readContext
- The read context.IlvGanttReaderException
IlvTimeReader getTimeReader()
null
. In this case, the IlvGanttDocumentReader
will set a time reader based upon the format specified by the
dateFormat
attribute of the <activities>
element.void setTimeReader(IlvTimeReader reader)
IlvGanttDocumentReader
will set a time reader based upon the format
specified by the dateFormat
attribute of the
<activities>
element.reader
- The new time reader.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.