Interface CpoMetaExportable

All Known Implementing Classes:
CassandraCpoMetaDescriptor, CpoMetaDescriptor, JdbcCpoMetaDescriptor

public interface CpoMetaExportable
CpoMetaExportable is implemented by metadata sources that can serialize their loaded CpoClass metadata back out to a CPO meta XML document.
Author:
dberry
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    export(File file)
    Performs an export of the metadata to the specified File
    void
    export(OutputStream outputStream)
    Performs an export of the meta ata to the specified OutputStream
    void
    export(Writer writer)
    Performs an export of the metadata to the specified Writer
  • Method Details

    • export

      void export(File file) throws CpoException
      Performs an export of the metadata to the specified File
      Parameters:
      file - The file to export to
      Throws:
      CpoException - An error has occurred
    • export

      void export(Writer writer) throws CpoException
      Performs an export of the metadata to the specified Writer
      Parameters:
      writer - The writer to export to
      Throws:
      CpoException - An error has occurred
    • export

      void export(OutputStream outputStream) throws CpoException
      Performs an export of the meta ata to the specified OutputStream
      Parameters:
      outputStream - The output stream to export to
      Throws:
      CpoException - An error has occurred