public class MarkupWriterSourceImpl extends java.lang.Object implements MarkupWriterSource
Constructor and Description |
---|
MarkupWriterSourceImpl() |
Modifier and Type | Method and Description |
---|---|
IMarkupWriter |
newMarkupWriter(java.io.PrintWriter writer,
ContentType contentType)
Creates and returns a new instance of
IMarkupWriter . |
void |
setContributions(java.util.Map contributions) |
void |
setLog(org.apache.commons.logging.Log log) |
public MarkupWriterSourceImpl()
public void setContributions(java.util.Map contributions)
public IMarkupWriter newMarkupWriter(java.io.PrintWriter writer, ContentType contentType)
MarkupWriterSource
IMarkupWriter
. The content
type is used to find the proper implemenation. Any additional content type data (after a ';')
is ignored.newMarkupWriter
in interface MarkupWriterSource
writer
- The PrintWriter
to which the markup writer should send output.contentType
- Used to locate the correct markup writer implementation (used to select a
MarkupFilter
.public void setLog(org.apache.commons.logging.Log log)