public class SAXElementWriterUtil extends Object
SAXElement XML writing/serialization utility class.| Constructor and Description |
|---|
SAXElementWriterUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
writeEmptyElement(SAXElement element,
Writer writer,
boolean encodeSpecialChars) |
static void |
writeEndElement(SAXElement element,
Writer writer) |
static void |
writeStartElement(SAXElement element,
Writer writer,
boolean encodeSpecialChars) |
static void |
writeText(SAXText text,
Writer writer) |
static void |
writeText(String text,
TextType textType,
Writer writer) |
public static void writeEmptyElement(SAXElement element, Writer writer, boolean encodeSpecialChars) throws IOException
IOExceptionpublic static void writeStartElement(SAXElement element, Writer writer, boolean encodeSpecialChars) throws IOException
IOExceptionpublic static void writeEndElement(SAXElement element, Writer writer) throws IOException
IOExceptionpublic static void writeText(String text, TextType textType, Writer writer) throws IOException
IOExceptionpublic static void writeText(SAXText text, Writer writer) throws IOException
IOExceptionCopyright © 2020. All rights reserved.