org.jcon.persistance
Class MetaBarsoomWriter
java.lang.Object
org.jcon.persistance.BarsoomWriter
org.jcon.persistance.MetaBarsoomWriter
public class MetaBarsoomWriter
- extends BarsoomWriter
A writer what writes a Barsoom files from a MetaTOF structure (MetaBeans and
LookupReferences).
- Author:
- Paul Reavis
|
Constructor Summary |
MetaBarsoomWriter(java.io.OutputStream ostream)
Creates a prettyprinting MetaBarsoomWriter that writes to the given
OutputStream. |
MetaBarsoomWriter(java.io.Writer writer)
Creates a prettyprinting MetaBarsoomWriter that writes to the given
writer. |
| Methods inherited from class org.jcon.persistance.BarsoomWriter |
close, flush, getOutputReadOnlyFields, indent, isCompactPrinting, newLine, setCompactPrinting, setOutputReadOnlyFields, undent, writeArrayList, writeBean, writeCharacter, writeClass, writeComplexObject, writeMap, writeNumber, writeObject, writeProperties, writeProperties, writeRecord, writeSet, writeString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaBarsoomWriter
public MetaBarsoomWriter(java.io.Writer writer)
- Creates a prettyprinting MetaBarsoomWriter that writes to the given
writer.
MetaBarsoomWriter
public MetaBarsoomWriter(java.io.OutputStream ostream)
throws java.io.IOException
- Creates a prettyprinting MetaBarsoomWriter that writes to the given
OutputStream.
- Throws:
java.io.IOException
writeObjectImpl
protected void writeObjectImpl(java.lang.Object object)
throws java.io.IOException
- Writes an object without any prettyprint returns.
- Overrides:
writeObjectImpl in class BarsoomWriter
- 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