* Allow Extended IO interface usage without muddying up the Stringifier Interface\r
*/\r
public interface IOStringifier<T> extends Stringifier<T> {\r
- /**\r
- * Marshal from an Object T onto a Writer, using contents from Env as necessary.<p>\r
- * \r
- * Implementations should use the {@link Env} to call "env.startTime(<string>, Env.XML)" to mark\r
- * XML time, since this is often a costly process.\r
- *\r
- * @param env\r
- * @param input\r
- * @return String\r
- * @throws APIException\r
- */\r
- public abstract void stringify(Env env, T input, Writer writer, boolean ... options) throws APIException;\r
- \r
- /**\r
- * Marshal from a String to an Object T, using contents from Env as necessary.<p>\r
- * \r
- * Implementations should use the {@link Env} to call "env.startXMLTime()" to mark\r
- * XML time, since this is often a costly process.\r
- *\r
- * @param env\r
- * @param input\r
- * @return String\r
- * @throws APIException\r
- */\r
- public abstract void stringify(Env env, T input, OutputStream os, boolean ... options) throws APIException;\r
+ /**\r
+ * Marshal from an Object T onto a Writer, using contents from Env as necessary.<p>\r
+ * \r
+ * Implementations should use the {@link Env} to call "env.startTime(<string>, Env.XML)" to mark\r
+ * XML time, since this is often a costly process.\r
+ *\r
+ * @param env\r
+ * @param input\r
+ * @return String\r
+ * @throws APIException\r
+ */\r
+ public abstract void stringify(Env env, T input, Writer writer, boolean ... options) throws APIException;\r
+ \r
+ /**\r
+ * Marshal from a String to an Object T, using contents from Env as necessary.<p>\r
+ * \r
+ * Implementations should use the {@link Env} to call "env.startXMLTime()" to mark\r
+ * XML time, since this is often a costly process.\r
+ *\r
+ * @param env\r
+ * @param input\r
+ * @return String\r
+ * @throws APIException\r
+ */\r
+ public abstract void stringify(Env env, T input, OutputStream os, boolean ... options) throws APIException;\r
\r
- /**\r
- * Set Pretty XML, where possible\r
- * \r
- * @param pretty\r
- * @throws APIException\r
- */\r
- public abstract IOStringifier<T> pretty(boolean pretty);\r
+ /**\r
+ * Set Pretty XML, where possible\r
+ * \r
+ * @param pretty\r
+ * @throws APIException\r
+ */\r
+ public abstract IOStringifier<T> pretty(boolean pretty);\r
\r
- /**\r
- * Set Generate Fragment\r
- * \r
- * @param fragment\r
- * @throws APIException\r
- */\r
- public abstract IOStringifier<T> asFragment(boolean fragment);\r
+ /**\r
+ * Set Generate Fragment\r
+ * \r
+ * @param fragment\r
+ * @throws APIException\r
+ */\r
+ public abstract IOStringifier<T> asFragment(boolean fragment);\r
\r
\r
}\r