public class IlvGeneralReservationWriter extends IlvSimpleReservationWriter
IlvGeneralReservationWriter writes the attributes of an
IlvReservation as well as its properties to a given DOM
Element. This class supports reservations that implement
IlvUserPropertyHolder, such as IlvGeneralReservation
and IlvTableReservation.
This writer is set in an IlvGanttDocumentWriter through the
IlvGanttDocumentWriter.setReservationWriter(ilog.views.gantt.xml.IlvReservationWriter) method.| Constructor and Description |
|---|
IlvGeneralReservationWriter()
Creates an
IlvGeneralReservationWriter. |
| Modifier and Type | Method and Description |
|---|---|
void |
writeReservation(Element elem,
IlvReservation reservation,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvGeneralReservation to a given Element. |
public IlvGeneralReservationWriter()
IlvGeneralReservationWriter.public void writeReservation(Element elem, IlvReservation reservation, IlvGanttDocumentWriter.Context writeContext)
IlvGeneralReservation to a given Element.
This function writes the attributes of the given reservation, and then
writes all the properties of this reservation as children nodes.writeReservation in interface IlvReservationWriterwriteReservation in class IlvSimpleReservationWriterelem - The element to write to.reservation - The reservation to be written.writeContext - The write context.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.