SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.meta
Interface MetaDataSerializer

All Known Subinterfaces:
MappingInfoSerializer, SchemaSerializer
All Known Implementing Classes:
XMLMappingInfoSerializer, XMLMetaDataSerializer, XMLSchemaSerializer

public interface MetaDataSerializer

Interface for meta data serializers.


Method Summary
 org.apache.commons.logging.Log getLog()
          Return the log to write to.
 void serialize()
          Serialize the current set of objects to the files from which they were parsed.
 void serialize(java.io.File file, boolean append, boolean pretty)
          Serialize the current set of objects to the given file, optionally appending and pretty-printing.
 void serialize(java.io.Writer out, boolean pretty)
          Serialize the current set of objects to the given stream, optionally pretty-printing the result.
 void setLog(org.apache.commons.logging.Log log)
          Set the log to write to.
 

Method Detail

getLog

public org.apache.commons.logging.Log getLog()
Return the log to write to.


setLog

public void setLog(org.apache.commons.logging.Log log)
Set the log to write to.


serialize

public void serialize()
               throws java.io.IOException
Serialize the current set of objects to the files from which they were parsed. The objects must implement the SourceTracker interface.

java.io.IOException

serialize

public void serialize(java.io.File file,
                      boolean append,
                      boolean pretty)
               throws java.io.IOException
Serialize the current set of objects to the given file, optionally appending and pretty-printing.

java.io.IOException

serialize

public void serialize(java.io.Writer out,
                      boolean pretty)
               throws java.io.IOException
Serialize the current set of objects to the given stream, optionally pretty-printing the result.

java.io.IOException

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.