public class IlvSimpleActivityWriter extends Object implements IlvActivityWriter
IlvSimpleActivityWriter writes the attributes of an
IlvSimpleActivity to a given DOM
Element.
This writer is used in an IlvGanttDocumentWriter.| Constructor and Description |
|---|
IlvSimpleActivityWriter()
Creates an
IlvSimpleActivityWriter. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDateFormat()
Returns the date format.
|
void |
setDateFormat(String format)
Sets the date format.
|
void |
writeActivity(Element elem,
IlvActivity activity,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvSimpleActivity to a
given Element. |
public IlvSimpleActivityWriter()
IlvSimpleActivityWriter.public void writeActivity(Element elem, IlvActivity activity, IlvGanttDocumentWriter.Context writeContext) throws Exception
IlvSimpleActivity to a
given Element.
This function writes the attributes of the given activity by calling the
setAttribute() method of the specified Element.writeActivity in interface IlvActivityWriterelem - The element to write to.activity - The activity to be written.writeContext - The write context.Exceptionpublic String getDateFormat()
d-M-yyyy H:m:s.getDateFormat in interface IlvActivityWritersetDateFormat(java.lang.String)public void setDateFormat(String format)
This method is usually called by IlvGanttDocumentWriter.
setDateFormat in interface IlvActivityWriterformat - The new date format.getDateFormat()© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.