public class IlvSimpleConstraintWriter extends Object implements IlvConstraintWriter
IlvSimpleConstraintWriter
writes the attributes of an
IlvSimpleConstraint
to a given DOM
Element
.
This writer is used in an IlvGanttDocumentWriter
.Constructor and Description |
---|
IlvSimpleConstraintWriter()
Creates an
IlvSimpleConstraintWriter . |
Modifier and Type | Method and Description |
---|---|
void |
writeConstraint(Element elem,
IlvConstraint constraint,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvSimpleConstraint to a given
Element . |
public IlvSimpleConstraintWriter()
IlvSimpleConstraintWriter
.public void writeConstraint(Element elem, IlvConstraint constraint, IlvGanttDocumentWriter.Context writeContext)
IlvSimpleConstraint
to a given
Element
.
This function writes the attributes of the given constraint by calling
the setAttribute()
method of the specified
Element
.writeConstraint
in interface IlvConstraintWriter
elem
- The element to write to.constraint
- The constraint to be written.writeContext
- The write context.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.