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, setDateFormat
public 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 IlvActivityWriter
writeActivity
in class IlvSimpleActivityWriter
elem
- The element to write to.activity
- The activity to be written.writeContext
- The write context.Exception
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.