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 IlvReservationWriter
writeReservation
in class IlvSimpleReservationWriter
elem
- The element to write to.reservation
- The reservation to be written.writeContext
- The write context.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.