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
XMLStreamException
public void endElement() throws XMLStreamException
XMLStreamException
public void leafWithText(String name, String content) throws XMLStreamException
XMLStreamException
public void flush()
public void close() throws XMLStreamException
XMLStreamException
Copyright © 2015. All rights reserved.