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>
- 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 org.x4o.xml.io.AbstractX4OConnection
phaseSkip, phaseStop
Fields inherited from class org.x4o.xml.io.AbstractX4OConnectionDebug
ABSTRACT_DEBUG_OUTPUT_HANDLER, ABSTRACT_DEBUG_OUTPUT_STREAM, ABSTRACT_DEBUG_OUTPUT_STREAM_CLOSE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.x4o.xml.io.AbstractX4OWriterSession
writeFileSession, writeFileSession, writeStringSession
Methods inherited from class org.x4o.xml.io.AbstractX4OConnection
addPhaseSkip, getLanguage, getProperty, getPropertyKeys, setPhaseStop, setProperty
Methods inherited from class org.x4o.xml.io.AbstractX4OConnectionDebug
debugException, debugStart, debugStop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.x4o.xml.io.X4OConnection
addPhaseSkip, getProperty, getPropertyKeys, setPhaseStop, setProperty
Methods inherited from interface org.x4o.xml.io.X4OWriterSession
writeSession
-
Constructor Details
-
AbstractX4OWriter
-
-
Method Details
-
write
public void write(T object, OutputStream output) throws X4OConnectionException, SAXException, IOException - Specified by:
write
in interfaceX4OWriter<T>
- Throws:
X4OConnectionException
SAXException
IOException
-
writeFile
public void writeFile(T object, String fileName) throws X4OConnectionException, SAXException, IOException, FileNotFoundException - Specified by:
writeFile
in interfaceX4OWriter<T>
- Throws:
X4OConnectionException
SAXException
IOException
FileNotFoundException
-
writeFile
public void writeFile(T object, File file) throws X4OConnectionException, SAXException, IOException, FileNotFoundException - Specified by:
writeFile
in interfaceX4OWriter<T>
- Throws:
X4OConnectionException
SAXException
IOException
FileNotFoundException
-
writeString
public String writeString(T object) throws X4OConnectionException, SAXException, IOException, FileNotFoundException - Specified by:
writeString
in interfaceX4OWriter<T>
- Throws:
X4OConnectionException
SAXException
IOException
FileNotFoundException
-