public class IlvGeneralActivityWriter extends IlvSimpleActivityWriter
IlvGeneralActivityWriter writes the attributes and the
properties of an IlvActivity to a given DOM
Element. This class supports activities that implement
IlvUserPropertyHolder or IlvPropertyHolderActivity, such as
IlvGeneralActivity and IlvTableActivity.
This writer is set in an IlvGanttDocumentWriter
through the IlvGanttDocumentWriter.setActivityWriter(ilog.views.gantt.xml.IlvActivityWriter) method.| Constructor and Description |
|---|
IlvGeneralActivityWriter()
Creates an
IlvGeneralActivityWriter. |
| Modifier and Type | Method and Description |
|---|---|
void |
writeActivity(Element elem,
IlvActivity activity,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvGeneralActivity to a given Element. |
getDateFormat, setDateFormatpublic IlvGeneralActivityWriter()
IlvGeneralActivityWriter.public void writeActivity(Element elem, IlvActivity activity, IlvGanttDocumentWriter.Context writeContext) throws Exception
IlvGeneralActivity to a given Element.
This function first writes the attributes of the given activity, and
then writes all the properties of this activity as children nodes.writeActivity in interface IlvActivityWriterwriteActivity in class IlvSimpleActivityWriterelem - The element to write to.activity - The activity to be written.writeContext - The write context.Exception© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.