public interface MarkupWriterFactory
MarkupWriter
instances.Modifier and Type | Method and Description |
---|---|
MarkupWriter |
newMarkupWriter(ContentType contentType)
Deprecated.
use
newMarkupWriter(Page) instead which doesn't rely on the content type alone. |
MarkupWriter |
newMarkupWriter(Page page)
Obtains a markup writer that will render the content for the provided page.
|
MarkupWriter |
newMarkupWriter(String pageName)
Obtains a markup writer that will render the content for the provided logical page name.
|
MarkupWriter |
newPartialMarkupWriter(ContentType contentType)
Deprecated.
use
newPartialMarkupWriter(Page) instead which doesn't rely on the content type alone. |
MarkupWriter |
newPartialMarkupWriter(Page page)
Obtains a markup writer that will render the content for the provided page,
configured for partial page rendering (i.e., for a response to an Ajax request).
|
MarkupWriter |
newPartialMarkupWriter(String pageName)
Obtains a markup writer that will render the content for the provided logical page name,
configured for partial page rendering (i.e., for a response to an Ajax request).
|
MarkupWriter newMarkupWriter(ContentType contentType)
newMarkupWriter(Page)
instead which doesn't rely on the content type alone.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)
newPartialMarkupWriter(Page)
instead which doesn't rely on the content type alone.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)
newMarkupWriter(Page)
pageName
- logical page nameMarkupWriter newPartialMarkupWriter(String pageName)
newPartialMarkupWriter(Page)
pageName
- logical page nameMarkupWriter newMarkupWriter(Page page)
page
- the page to obtain a writer forMarkupWriter newPartialMarkupWriter(Page page)
page
- the page to obtain a writer for${project.version} - Copyright © 2003-2015 The Apache Software Foundation.