public class SimpleFormatter extends Object implements XmlStreamingFormatter
| Modifier and Type | Field and Description |
|---|---|
static char |
DEFAULT_INDENT_CHAR |
static int |
DEFAULT_INDENT_SIZE |
static String |
DEFAULT_NEWLINE |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor and Description |
|---|
SimpleFormatter() |
SimpleFormatter(char indentCharacter,
int indentSize,
String newline) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(XMLStreamWriter writer,
int event) |
void |
before(XMLStreamWriter writer,
int event) |
public static final int DEFAULT_INDENT_SIZE
public static final char DEFAULT_INDENT_CHAR
public static final String DEFAULT_NEWLINE
public SimpleFormatter()
public SimpleFormatter(char indentCharacter,
int indentSize,
String newline)
public void before(XMLStreamWriter writer, int event) throws XMLStreamException
before in interface XmlStreamingFormatterXMLStreamExceptionpublic void after(XMLStreamWriter writer, int event) throws XMLStreamException
after in interface XmlStreamingFormatterXMLStreamExceptionCopyright © 2017 JBoss by Red Hat. All Rights Reserved.