public class IlvGeneralConstraintWriter extends IlvSimpleConstraintWriter
IlvGeneralConstraintWriter writes the attributes and the
properties of an IlvConstraint to a given DOM
Element. This class supports constraints that implement
IlvUserPropertyHolder, such as IlvGeneralConstraint
and IlvTableConstraint.
This writer is set in an IlvGanttDocumentWriter
through the IlvGanttDocumentWriter.setConstraintWriter(ilog.views.gantt.xml.IlvConstraintWriter) method.| Constructor and Description |
|---|
IlvGeneralConstraintWriter()
Creates an
IlvGeneralConstraintWriter. |
| Modifier and Type | Method and Description |
|---|---|
void |
writeConstraint(Element elem,
IlvConstraint constraint,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvGeneralConstraint to a given Element. |
public IlvGeneralConstraintWriter()
IlvGeneralConstraintWriter.public void writeConstraint(Element elem, IlvConstraint constraint, IlvGanttDocumentWriter.Context writeContext)
IlvGeneralConstraint to a given Element.
This function writes the attributes of the given constraint, and then
writes all the properties of this constraint as children nodes.writeConstraint in interface IlvConstraintWriterwriteConstraint in class IlvSimpleConstraintWriterelem - The element to write to.constraint - The constraint to be written.writeContext - The write context.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.