Menu

[r3124]: / trunk / ch.sahits.codegen.help / html / concepts / inputData.html  Maximize  Restore  History

Download this file

39 lines (37 with data), 1.8 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!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>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.