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
IOException
public static void writeStartElement(SAXElement element, Writer writer, boolean encodeSpecialChars) throws IOException
IOException
public static void writeEndElement(SAXElement element, Writer writer) throws IOException
IOException
public static void writeText(String text, TextType textType, Writer writer) throws IOException
IOException
public static void writeText(SAXText text, Writer writer) throws IOException
IOException
Copyright © 2020. All rights reserved.