org.hibernate.tool.hbm2x
Class HibernateConfigurationExporter
java.lang.Object
org.hibernate.tool.hbm2x.AbstractExporter
org.hibernate.tool.hbm2x.HibernateConfigurationExporter
- All Implemented Interfaces:
- Exporter
public class HibernateConfigurationExporter
- extends AbstractExporter
- Author:
- max
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 |
HibernateConfigurationExporter
public HibernateConfigurationExporter(org.hibernate.cfg.Configuration configuration,
File outputdir)
HibernateConfigurationExporter
public HibernateConfigurationExporter()
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.