org.hibernate.tool.hbm2x
Class HibernateConfigurationExporter

java.lang.Object
  extended by org.hibernate.tool.hbm2x.AbstractExporter
      extended by org.hibernate.tool.hbm2x.HibernateConfigurationExporter
All Implemented Interfaces:
Exporter

public class HibernateConfigurationExporter
extends AbstractExporter

Author:
max

Field Summary
 
Fields inherited from class org.hibernate.tool.hbm2x.AbstractExporter
log, templatePaths
 
Constructor Summary
HibernateConfigurationExporter()
           
HibernateConfigurationExporter(org.hibernate.cfg.Configuration configuration, File outputdir)
           
 
Method Summary
 void doStart()
           
static String forXML(String text)
           
 Properties getCustomProperties()
           
 String getName()
           
 Writer getOutput()
           
 void setCustomProperties(Properties customProperties)
           
 void setOutput(Writer output)
           
 
Methods inherited from class org.hibernate.tool.hbm2x.AbstractExporter
cleanUpContext, getArtifactCollector, getCfg2HbmTool, getCfg2JavaTool, getConfiguration, getFileForClassName, getOutputDirectory, getProperties, getTemplateHelper, getTemplatePath, getTemplatePaths, setArtifactCollector, setConfiguration, setOutputDirectory, setProperties, setTemplateHelper, setTemplatePath, setupContext, setupTemplates, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateConfigurationExporter

public HibernateConfigurationExporter(org.hibernate.cfg.Configuration configuration,
                                      File outputdir)

HibernateConfigurationExporter

public HibernateConfigurationExporter()
Method Detail

getCustomProperties

public Properties getCustomProperties()

setCustomProperties

public void setCustomProperties(Properties customProperties)

getOutput

public Writer getOutput()

setOutput

public void setOutput(Writer output)

doStart

public void doStart()
             throws ExporterException
Specified by:
doStart in class AbstractExporter
Throws:
ExporterException

getName

public String getName()
Overrides:
getName in class AbstractExporter

forXML

public static String forXML(String text)
Parameters:
text -
Returns:
String with escaped [<,>] special characters.