<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Input Data</title>
</head>
<body>
<h1>Input Data</h1>
<p>The input files define a model that conform to a specified
syntax/language. You can supply your own model by defining a domain
specific language (DSL). The following input files are supported. Further
can be added through extensions.</p>
<ul>
<li>SQL create script for Oracle: the file must end
on *.sql</li>
<li>HTML forms conforming to the XHTML standard with the file extension *.xhtml</li>
<li>XML files: the generator for the model must be
specified in the XML file. The generator parses the file and generates
a model object that is used in the generation of the java class</li>
</ul>
<p>There are several extension points that concern the input data:</p>
<ul>
<li>ch.sahits.codegen.java.inputdbconnection: If your input data is not supplied by
an input file but a database connection, a proper model generator must be supplied
that can generate an input model from the connection.</li>
<li>ch.sahits.codegen.java.inputdbparse: If your input data is an input SQL file a
parser must be supplied that can parse the input file since there are many differences
in the SQL dialect from different vendors.</li>
<li>ch.sahits.codegen.java.inputparser: This extension point lets you define your
own parser based on a file extension.</li>
<li>ch.sahits.codegen.inputxmlparser: If your input file is an XML file the specified
parser must be registered through this extension point.</li>
<li>ch.sahits.codegen.java.connectionpage: The input data can be gained through querring the
database. There are different methods to do that. This extension point lets you supply your own.</li>
</ul>
</body>
</html>