public class MarkupWriterFactoryImpl extends Object implements MarkupWriterFactory
Constructor and Description |
---|
MarkupWriterFactoryImpl(PageContentTypeAnalyzer analyzer,
RequestPageCache cache) |
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).
|
public MarkupWriterFactoryImpl(PageContentTypeAnalyzer analyzer, RequestPageCache cache)
public MarkupWriter newMarkupWriter(ContentType contentType)
MarkupWriterFactory
newMarkupWriter
in interface MarkupWriterFactory
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.public MarkupWriter newPartialMarkupWriter(ContentType contentType)
MarkupWriterFactory
newPartialMarkupWriter
in interface MarkupWriterFactory
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.public MarkupWriter newMarkupWriter(String pageName)
MarkupWriterFactory
newMarkupWriter
in interface MarkupWriterFactory
pageName
- logical page nameCopyright © 2003-2012 The Apache Software Foundation.