public class XMLWriter extends Object
Constructor and Description |
---|
XMLWriter(File f) |
XMLWriter(OutputStream s) |
XMLWriter(StreamResult output) |
Modifier and Type | Method and Description |
---|---|
void |
clearAttributes() |
void |
endElement(String key) |
void |
setAttribute(String name,
String value) |
void |
startElement(String element) |
void |
write(String text) |
void |
write(Writable w) |
void |
writeProperty(String key,
int value) |
void |
writeProperty(String key,
String value) |
public XMLWriter(OutputStream s) throws TransformerConfigurationException
public XMLWriter(File f) throws TransformerConfigurationException
public XMLWriter(StreamResult output) throws TransformerConfigurationException
public void write(Writable w) throws SAXException
SAXException
public void startElement(String element) throws SAXException
SAXException
public void writeProperty(String key, String value) throws SAXException
SAXException
public void endElement(String key) throws SAXException
SAXException
public void write(String text) throws SAXException
SAXException
public void clearAttributes()
public void writeProperty(String key, int value) throws SAXException
SAXException
Copyright © 2014. All Rights Reserved.