public interface MarkupWriterSource
tapestry.markup.MarkupWriterSource
service. A factory
service that creates new instances of IMarkupWriter
, configured for
different content types;Modifier and Type | Method and Description |
---|---|
IMarkupWriter |
newMarkupWriter(java.io.PrintWriter writer,
ContentType contentType)
Creates and returns a new instance of
IMarkupWriter . |
IMarkupWriter newMarkupWriter(java.io.PrintWriter writer, ContentType contentType)
IMarkupWriter
. The content
type is used to find the proper implemenation. Any additional content type data (after a ';')
is ignored.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
.