public interface XmlWriter extends Interfaces.AccessSerializers, Interfaces.ParserConfiguration
| Modifier and Type | Method and Description |
|---|---|
default String |
domToXml(Element node) |
default void |
domToXml(Element node,
Writer writer) |
default String |
toXml(Object o,
String name) |
default void |
toXml(Object o,
String name,
Writer writer) |
default void |
writeArray(Writer writer,
String name,
Object o,
String indent) |
default void |
writeField(Class<?> c,
Writer writer,
String name,
Object value,
String indent) |
default void |
writeIndent(Writer writer,
String indent) |
default void |
writeList(Writer writer,
String name,
Object o,
String indent) |
default void |
writeMap(Writer writer,
String name,
Object o,
String indent) |
default void |
writeNewLine(Writer writer) |
default void |
writeObject(Writer writer,
String name,
Object o,
String indent) |
default void |
writeSet(Writer writer,
String name,
Object o,
String indent) |
default void |
writeSimple(Writer writer,
String name,
Object value,
List<Field> attributes,
Object text,
String indent) |
default void |
writeSimple(Writer writer,
String name,
Object value,
String indent) |
getSerializer, hasSerializershouldEncodeUTF8, shouldPrettyPrintdefault void toXml(Object o, String name, Writer writer) throws IOException
IOExceptiondefault void domToXml(Element node, Writer writer) throws IOException
IOExceptiondefault void writeSimple(Writer writer, String name, Object value, String indent) throws IOException
IOExceptiondefault void writeSimple(Writer writer, String name, Object value, List<Field> attributes, Object text, String indent) throws IOException, IllegalAccessException
IOExceptionIllegalAccessExceptiondefault void writeList(Writer writer, String name, Object o, String indent) throws IllegalArgumentException, IllegalAccessException, IOException
default void writeArray(Writer writer, String name, Object o, String indent) throws IllegalArgumentException, IllegalAccessException, IOException
default void writeSet(Writer writer, String name, Object o, String indent) throws IllegalArgumentException, IllegalAccessException, IOException
default void writeMap(Writer writer, String name, Object o, String indent) throws IllegalArgumentException, IllegalAccessException, IOException
default void writeObject(Writer writer, String name, Object o, String indent) throws IllegalArgumentException, IllegalAccessException, IOException
default void writeField(Class<?> c, Writer writer, String name, Object value, String indent) throws IllegalArgumentException, IllegalAccessException, IOException
default void writeIndent(Writer writer, String indent) throws IOException
IOExceptiondefault void writeNewLine(Writer writer) throws IOException
IOExceptionCopyright © 2018. All rights reserved.