public abstract class StringWriterTemplate extends Object
| Constructor and Description |
|---|
StringWriterTemplate() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
onReserveBuffer(long addr,
int length) |
static void |
writeAttribute(XmlWriter writer,
String attributeName,
char[] attributeValue) |
static void |
writeElement(XmlWriter writer,
String element,
Consumer<XmlWriter> consumer) |
protected abstract void onReserveBuffer(long addr,
int length)
throws IOException
IOExceptionpublic static void writeElement(XmlWriter writer, String element, Consumer<XmlWriter> consumer) throws IOException
IOExceptionpublic static void writeAttribute(XmlWriter writer, String attributeName, char[] attributeValue) throws IOException
IOExceptionCopyright © 2017. All rights reserved.