public class SmartXMLWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
XMLStreamWriter |
stream |
| Constructor and Description |
|---|
SmartXMLWriter(Writer output,
boolean smart) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endElement() |
void |
flush() |
void |
leafWithText(String name,
String content) |
void |
startElement(String name) |
public final XMLStreamWriter stream
public SmartXMLWriter(Writer output, boolean smart) throws XMLStreamException, FactoryConfigurationError
public void startElement(String name) throws XMLStreamException
XMLStreamExceptionpublic void endElement()
throws XMLStreamException
XMLStreamExceptionpublic void leafWithText(String name, String content) throws XMLStreamException
XMLStreamExceptionpublic void flush()
public void close()
throws XMLStreamException
XMLStreamExceptionCopyright © 2015. All rights reserved.