org.jcon.persistance
Class MetaTOFWriter
java.lang.Object
org.jcon.persistance.TOFWriter
org.jcon.persistance.MetaTOFWriter
public class MetaTOFWriter
- extends TOFWriter
A writer what writes a TOF files from a MetaTOF structure (MetaBeans and
LookupReferences).
- Author:
- Paul Reavis
|
Constructor Summary |
MetaTOFWriter(java.io.OutputStream ostream)
Creates a prettyprinting MetaTOFWriter that writes to the given
OutputStream. |
MetaTOFWriter(java.io.Writer writer)
Creates a prettyprinting MetaTOFWriter that writes to the given writer. |
| Methods inherited from class org.jcon.persistance.TOFWriter |
close, getNoPointers, getOutputReadOnlyFields, indent, isPrettyPrinting, newLine, setNoPointers, setOutputReadOnlyFields, setPrettyPrinting, undent, writeArrayList, writeBean, writeCharacter, writeClass, writeCog, writeComplexObject, writeLookup, writeMap, writeNumber, writeObject, writeRecord, writeSet, writeString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaTOFWriter
public MetaTOFWriter(java.io.Writer writer)
- Creates a prettyprinting MetaTOFWriter that writes to the given writer.
MetaTOFWriter
public MetaTOFWriter(java.io.OutputStream ostream)
- Creates a prettyprinting MetaTOFWriter that writes to the given
OutputStream.
writeObjectImpl
protected void writeObjectImpl(java.lang.Object object)
throws java.io.IOException
- Writes an object without any prettyprint returns.
- Overrides:
writeObjectImpl in class TOFWriter
- Throws:
java.io.IOException
writeLookupReference
protected void writeLookupReference(LookupReference ref)
throws java.io.IOException
- Writes a lookup reference to an object.
- Throws:
java.io.IOException
writeMetaClass
protected void writeMetaClass(MetaClass victim)
throws java.io.IOException
- Throws:
java.io.IOException
writeMetaImport
protected void writeMetaImport(MetaImport victim)
throws java.io.IOException
- Throws:
java.io.IOException
writeMetaBean
protected void writeMetaBean(MetaBean victim)
throws java.io.IOException
- Throws:
java.io.IOException