org.jpox.metadata
Class MetaDataMigrator
java.lang.Object
org.jpox.metadata.MetaDataMigrator
- public class MetaDataMigrator
- extends java.lang.Object
Utility to migrate MetaData from the JDO 1.0 standard (where many things are
in extension tags) to the JDO 2.0 standard.
Takes a list of MetaData files, and options for the generation.
TODO Add option on which DTD to use
TODO Add option on output location for updated file
- Version:
- $Revision: 1.21 $
Method Summary |
protected static void |
convertFileMetaData(FileMetaData filemd)
Method to convert JDO 1 style extension tags to JDO 2 tags. |
static void |
main(java.lang.String[] args)
Main entry point for the migrator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaDataMigrator
public MetaDataMigrator()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Main entry point for the migrator.
- Parameters:
args
- The command line arguments.
- Throws:
java.lang.Exception
- Thrown when an error occurs.
convertFileMetaData
protected static void convertFileMetaData(FileMetaData filemd)
- Method to convert JDO 1 style extension tags to JDO 2 tags.
- Parameters:
filemd
- The File MetaData.
Copyright © -2007 . All Rights Reserved.