org.alfresco.util.schemacomp
Class DbToXML

java.lang.Object
  extended by org.alfresco.util.schemacomp.DbToXML

public class DbToXML
extends java.lang.Object

Tool to export a database schema to an XML file.


Constructor Summary
DbToXML(org.springframework.context.ApplicationContext context, java.io.File outputFile)
          Constructor.
DbToXML(org.springframework.context.ApplicationContext context, java.io.File outputFile, java.lang.String namePrefix)
          Constructor.
 
Method Summary
 void execute()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbToXML

public DbToXML(org.springframework.context.ApplicationContext context,
               java.io.File outputFile)
Constructor. Uses a default name prefix of 'alf_' during the export.


DbToXML

public DbToXML(org.springframework.context.ApplicationContext context,
               java.io.File outputFile,
               java.lang.String namePrefix)
Constructor. Allows specification of a name prefix, e.g. "jpbm_", that will be used during the export.

Method Detail

execute

public void execute()

main

public static void main(java.lang.String[] args)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.