public class SmartXMLWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
javax.xml.stream.XMLStreamWriter |
stream |
Constructor and Description |
---|
SmartXMLWriter(java.io.Writer output,
boolean smart) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
endElement() |
void |
flush() |
void |
leafWithText(java.lang.String name,
java.lang.String content) |
void |
startElement(java.lang.String name) |
public SmartXMLWriter(java.io.Writer output, boolean smart) throws javax.xml.stream.XMLStreamException, javax.xml.stream.FactoryConfigurationError
javax.xml.stream.XMLStreamException
javax.xml.stream.FactoryConfigurationError
public void startElement(java.lang.String name) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void endElement() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void leafWithText(java.lang.String name, java.lang.String content) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public void flush()
public void close() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException