Class AbstractX4OWriter<T>
java.lang.Object
org.x4o.xml.io.AbstractX4OConnectionDebug
org.x4o.xml.io.AbstractX4OConnection
org.x4o.xml.io.AbstractX4OWriterSession<T>
org.x4o.xml.io.AbstractX4OWriter<T>
- Type Parameters:
T- The root element object type.
- All Implemented Interfaces:
X4OConnection, X4OWriter<T>, X4OWriterSession<T>
- Direct Known Subclasses:
DefaultX4OWriter
public abstract class AbstractX4OWriter<T>
extends AbstractX4OWriterSession<T>
implements X4OWriter<T>
AbstractX4OWriter.
- Version:
- 1.0 Apr 6, 2013
- Author:
- Willem Cazander
-
Field Summary
Fields inherited from class AbstractX4OConnection
phaseSkip, phaseStopFields inherited from class AbstractX4OConnectionDebug
ABSTRACT_DEBUG_OUTPUT_HANDLER, ABSTRACT_DEBUG_OUTPUT_STREAM, ABSTRACT_DEBUG_OUTPUT_STREAM_CLOSE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractX4OWriterSession
writeFileSession, writeFileSession, writeStringSessionMethods inherited from class AbstractX4OConnection
addPhaseSkip, getLanguage, getProperty, getPropertyKeys, setPhaseStop, setPropertyMethods inherited from class AbstractX4OConnectionDebug
debugException, debugStart, debugStopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface X4OConnection
addPhaseSkip, getProperty, getPropertyKeys, setPhaseStop, setPropertyMethods inherited from interface X4OWriterSession
writeSession
-
Constructor Details
-
AbstractX4OWriter
-
-
Method Details
-
write
public void write(T object, OutputStream output) throws X4OConnectionException, SAXException, IOException - Specified by:
writein interfaceX4OWriter<T>- Throws:
X4OConnectionExceptionSAXExceptionIOException
-
writeFile
public void writeFile(T object, String fileName) throws X4OConnectionException, SAXException, IOException, FileNotFoundException - Specified by:
writeFilein interfaceX4OWriter<T>- Throws:
X4OConnectionExceptionSAXExceptionIOExceptionFileNotFoundException
-
writeFile
public void writeFile(T object, File file) throws X4OConnectionException, SAXException, IOException, FileNotFoundException - Specified by:
writeFilein interfaceX4OWriter<T>- Throws:
X4OConnectionExceptionSAXExceptionIOExceptionFileNotFoundException
-
writeString
public String writeString(T object) throws X4OConnectionException, SAXException, IOException, FileNotFoundException - Specified by:
writeStringin interfaceX4OWriter<T>- Throws:
X4OConnectionExceptionSAXExceptionIOExceptionFileNotFoundException
-