|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WriterFactory
The WriterFactory is used a acquire instances of alternative writers registered with Abdera.
Writer
Method Summary | ||
---|---|---|
|
getWriter()
Get the default writer. |
|
|
getWriter(String name)
Get the named writer. |
|
|
getWriterByMediaType(String mediatype)
Return a writer capable of outputting the given MIME media type |
|
|
newStreamWriter()
Get the default StreamWriter. |
|
|
newStreamWriter(String name)
Get the named StreamWriter. |
Method Detail |
---|
<T extends Writer> T getWriter()
<T extends Writer> T getWriter(String name)
name
- The name of the writer
<T extends Writer> T getWriterByMediaType(String mediatype)
mediatype
- A MIME media type
<T extends StreamWriter> T newStreamWriter()
<T extends StreamWriter> T newStreamWriter(String name)
name
- The name of the StreamWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |