Package net.anwiba.commons.xml.io
Class XmlWriter<T>
- java.lang.Object
-
- net.anwiba.commons.xml.io.XmlWriter<T>
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class XmlWriter<T> extends java.lang.Object implements java.io.Closeable
-
-
Constructor Summary
Constructors Constructor Description XmlWriter(java.io.Writer writer, IObjectToDomConverter<T> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidwrite(T object)
-
-
-
Constructor Detail
-
XmlWriter
public XmlWriter(java.io.Writer writer, IObjectToDomConverter<T> converter)
-
-
Method Detail
-
write
public void write(T object) throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-