|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.MarkupWriterFactoryImpl
public class MarkupWriterFactoryImpl
Constructor Summary | |
---|---|
MarkupWriterFactoryImpl(PageContentTypeAnalyzer analyzer,
RequestPageCache cache)
|
Method Summary | |
---|---|
MarkupWriter |
newMarkupWriter(ContentType contentType)
Creates a markup writer for a particular content type. |
MarkupWriter |
newMarkupWriter(java.lang.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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkupWriterFactoryImpl(PageContentTypeAnalyzer analyzer, RequestPageCache cache)
Method Detail |
---|
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(java.lang.String pageName)
MarkupWriterFactory
newMarkupWriter
in interface MarkupWriterFactory
pageName
- logical page name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |