public interface MarkupWriterFactory
MarkupWriter
instances.Modifier and Type | Method and Description |
---|---|
MarkupWriter |
newMarkupWriter(ContentType contentType)
Creates a markup writer for a particular content type.
|
MarkupWriter |
newMarkupWriter(String pageName)
Obtains a markup writer that will render the content for the provided logical page name.
|
MarkupWriter |
newPartialMarkupWriter(ContentType contentType)
Creates a markup writer for a particular content type, configured for partial page rendering (i.e., for
a response to an Ajax request).
|
MarkupWriter newMarkupWriter(ContentType contentType)
contentType
- type of content generated by the markup write; used to control the type of MarkupModel
used with the Document
the backs the markup writer.MarkupWriter newPartialMarkupWriter(ContentType contentType)
contentType
- type of content generated by the markup write; used to control the type of MarkupModel
used with the Document
the backs the markup writer.MarkupWriter newMarkupWriter(String pageName)
pageName
- logical page nameCopyright © 2003-2012 The Apache Software Foundation.