public interface IOStringifier<T> extends Stringifier<T>
| Modifier and Type | Method and Description |
|---|---|
IOStringifier<T> |
asFragment(boolean fragment)
Set Generate Fragment
|
IOStringifier<T> |
pretty(boolean pretty)
Set Pretty XML, where possible
|
void |
stringify(Env env,
T input,
OutputStream os,
boolean... options)
Marshal from a String to an Object T, using contents from Env as necessary.
|
void |
stringify(Env env,
T input,
Writer writer,
boolean... options)
Marshal from an Object T onto a Writer, using contents from Env as necessary.
|
stringifyrefresh, serviceDestroy, servicePrestart, threadDestroy, threadPrestartvoid stringify(Env env, T input, Writer writer, boolean... options) throws APIException
Implementations should use the Env to call "env.startTime(
env - input - APIExceptionvoid stringify(Env env, T input, OutputStream os, boolean... options) throws APIException
Implementations should use the Env to call "env.startXMLTime()" to mark
XML time, since this is often a costly process.
env - input - APIExceptionIOStringifier<T> pretty(boolean pretty)
pretty - APIExceptionIOStringifier<T> asFragment(boolean fragment)
fragment - APIExceptionCopyright © 2017. All rights reserved.