public abstract class XmlDocument extends Object
| Constructor and Description |
|---|
XmlDocument() |
| Modifier and Type | Method and Description |
|---|---|
void |
createDocument(File xmlFile) |
void |
createDocument(String rootElement) |
void |
writeXMLDocument(File f) |
void |
writeXMLDocument(String fileName) |
protected Document doc
public void createDocument(String rootElement) throws ParserConfigurationException
ParserConfigurationExceptionpublic void createDocument(File xmlFile) throws ParserConfigurationException, SAXException, IOException
public void writeXMLDocument(String fileName) throws IOException, TransformerException
IOExceptionTransformerExceptionpublic void writeXMLDocument(File f) throws IOException, TransformerException
IOExceptionTransformerExceptionCopyright © 2018 the original author or authors.