public class IlvGeneralResourceWriter extends IlvSimpleResourceWriter
IlvGeneralResourceWriter
writes the attributes of an
IlvResource
as well as its properties to a given DOM
Element
. This class supports resources that implement
IlvUserPropertyHolder
, such as IlvGeneralResource
and IlvTableResource
.
This writer is set in an IlvGanttDocumentWriter
through the
IlvGanttDocumentWriter.setResourceWriter(ilog.views.gantt.xml.IlvResourceWriter)
method.Constructor and Description |
---|
IlvGeneralResourceWriter()
Creates an
IlvGeneralResourceWriter . |
Modifier and Type | Method and Description |
---|---|
void |
writeResource(Element elem,
IlvResource resource,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvGeneralResource to a given Element . |
public IlvGeneralResourceWriter()
IlvGeneralResourceWriter
.public void writeResource(Element elem, IlvResource resource, IlvGanttDocumentWriter.Context writeContext)
IlvGeneralResource
to a given Element
.
This function writes the attributes of the given resource, and then
writes all the properties of this resource as children nodes.writeResource
in interface IlvResourceWriter
writeResource
in class IlvSimpleResourceWriter
elem
- The element to write to.resource
- The resource to be written.writeContext
- The write context.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.