fr.reseaumexico.model.writer
Class XmlWriter<M>
java.lang.Object
java.io.Writer
java.io.OutputStreamWriter
java.io.FileWriter
fr.reseaumexico.model.writer.XmlWriter<M>
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
- Direct Known Subclasses:
- MexicoXmlWriter
public abstract class XmlWriter<M>
- extends FileWriter
Abstract writer to create xml files using XmlNode
- Since:
- 0.1
- Author:
- sletellier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDENT
public static final int INDENT
- See Also:
- Constant Field Values
model
protected M model
XmlWriter
public XmlWriter(File file,
M model)
throws IOException
- Throws:
IOException
write
public void write()
throws IOException
- Throws:
IOException
getRootElement
public abstract XmlNode getRootElement()
Copyright © 2011-2012 Code Lutin. All Rights Reserved.