|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MarkupWriterSource
Service interface for tapestry.markup.MarkupWriterSource service. A factory
service that creates new instances of IMarkupWriter, configured for
different content types;
| Method Summary | |
|---|---|
IJSONWriter |
newJSONWriter(PrintWriter writer,
ContentType contentType)
Creates and returns a new instance of IJSONWriter. |
IMarkupWriter |
newMarkupWriter(PrintWriter writer,
ContentType contentType)
Creates and returns a new instance of IMarkupWriter. |
| Method Detail |
|---|
IMarkupWriter newMarkupWriter(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.
IJSONWriter newJSONWriter(PrintWriter writer,
ContentType contentType)
IJSONWriter. The content type is used
to find the proper implementation. 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||