Save This Page
Home » hibernate-entity-src-20081106 » org.hibernate.tool.hbm2x » [javadoc | source]
org.hibernate.tool.hbm2x
public class: DocExporter [javadoc | source]
java.lang.Object
   org.hibernate.tool.hbm2x.AbstractExporter
      org.hibernate.tool.hbm2x.DocExporter

All Implemented Interfaces:
    Exporter

Exporter implementation that creates Hibernate Documentation. Creates Tables and Classes Details
Field Summary
public static final  String OS_NAME     
public static final  boolean IS_LINUX     
Fields inherited from org.hibernate.tool.hbm2x.AbstractExporter:
log,  templatePaths
Constructor:
 public DocExporter() 
 public DocExporter(Configuration cfg,
    File outputdir) 
    Creates a new object.
    Parameters:
    cfg - hibernate configuration.
    outputdir - the output directory.
    templatePaths - the template paths.
Method from org.hibernate.tool.hbm2x.DocExporter Summary:
doStart,   generateCommmonAndAssets,   generateEntitiesAllEntitiesList,   generateEntitiesAllPackagesList,   generateEntitiesDetails,   generateEntitiesIndex,   generateEntitiesPackageDetailedInfo,   generateEntitiesPackageEntityList,   generatePackageSummary,   generateTablesAllSchemasList,   generateTablesAllTablesList,   generateTablesDetails,   generateTablesIndex,   generateTablesSchemaDetailedInfo,   generateTablesSchemaTableList,   generateTablesSummary,   getName,   processTemplate,   setupContext
Methods from org.hibernate.tool.hbm2x.AbstractExporter:
cleanUpContext,   doStart,   getArtifactCollector,   getCfg2HbmTool,   getCfg2JavaTool,   getConfiguration,   getFileForClassName,   getName,   getOutputDirectory,   getProperties,   getTemplateHelper,   getTemplatePaths,   setArtifactCollector,   setConfiguration,   setOutputDirectory,   setProperties,   setTemplateHelper,   setTemplatePath,   setupContext,   setupTemplates,   start,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.tool.hbm2x.DocExporter Detail:
 public  void doStart() throws ExporterException 
 public  void generateCommmonAndAssets() 
    Generate common files and copy assets.
 public  void generateEntitiesAllEntitiesList() 
    Generates the html file containing list of classes (allclases.html)
 public  void generateEntitiesAllPackagesList() 
    Generates the html file containig list of packages (allpackages.html)
 public  void generateEntitiesDetails() 
    generates one html file for each class containing detail information of class
 public  void generateEntitiesIndex() 
    Generate the index file of the class documentation
 public  void generateEntitiesPackageDetailedInfo() 
    Generates the html file containing list of classes and interfaces for given package
 public  void generateEntitiesPackageEntityList() 
    generates the list of classes sepcific to package
 public  void generatePackageSummary(boolean graphsGenerated) 
    Generate summary (summaty.html) to show all the packages
 public  void generateTablesAllSchemasList() 
    Generate a file with a list of all the schemas in the configuration.
 public  void generateTablesAllTablesList() 
    Generate a file with a list of all the tables in the configuration.
 public  void generateTablesDetails() 
    Generate one file per table with detail information.
 public  void generateTablesIndex() 
    Generate the index file of the table documentation.
 public  void generateTablesSchemaDetailedInfo() 
    Generate two files per schema. One with a summary of the tables in the schema and another one with a list of tables.
 public  void generateTablesSchemaTableList() 
 public  void generateTablesSummary(boolean graphsGenerated) 
    Generate a file with an summary of all the tables.
 public String getName() 
 protected  void processTemplate(Map parameters,
    String templateName,
    File outputFile) 
    Run templates.
 protected  void setupContext()