public class IlvSimpleResourceWriter extends Object implements IlvResourceWriter
IlvSimpleResourceWriter
writes the attributes of an
IlvSimpleResource
to a given DOM
Element
.
This writer is used in an IlvGanttDocumentWriter
.Constructor and Description |
---|
IlvSimpleResourceWriter()
Creates an
IlvSimpleResourceWriter . |
Modifier and Type | Method and Description |
---|---|
void |
writeResource(Element elem,
IlvResource resource,
IlvGanttDocumentWriter.Context writeContext)
Writes an
IlvSimpleResource to a
given Element . |
public IlvSimpleResourceWriter()
IlvSimpleResourceWriter
.public void writeResource(Element elem, IlvResource resource, IlvGanttDocumentWriter.Context writeContext)
IlvSimpleResource
to a
given Element
.
This function writes the attributes of the given resource by calling
the setAttribute()
method of the specified
Element
.writeResource
in interface IlvResourceWriter
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.