jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r908341 - in /websites/staging/jena/trunk/content: ./ documentation/tools/schemagen.html
Date Wed, 07 May 2014 22:10:29 GMT
Author: buildbot
Date: Wed May  7 22:10:29 2014
New Revision: 908341

Log:
Staging update by buildbot for jena

Modified:
    websites/staging/jena/trunk/content/   (props changed)
    websites/staging/jena/trunk/content/documentation/tools/schemagen.html

Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed May  7 22:10:29 2014
@@ -1 +1 @@
-1592253
+1593147

Modified: websites/staging/jena/trunk/content/documentation/tools/schemagen.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/tools/schemagen.html (original)
+++ websites/staging/jena/trunk/content/documentation/tools/schemagen.html Wed May  7 22:10:29
2014
@@ -189,6 +189,16 @@ options is explained in detail below.</p
 <td>Template for writing out declarations of class resources.</td>
 </tr>
 <tr>
+<td><code>--datatypesSection &lt;string\&gt;</code></td>
+<td><code>sgen:datatypesSection</code></td>
+<td>Section declaration comment for datatypes section.</td>
+</tr>
+<tr>
+<td><code>--datatypeTemplate &lt;string\&gt;</code></td>
+<td><code>sgen:datatypeTemplate</code></td>
+<td>Template for writing out declarations of datatypes.</td>
+</tr>
+<tr>
 <td><code>--declarations &lt;string\&gt;</code></td>
 <td><code>sgen:declarations</code></td>
 <td>Additional declarations to add at the top of the class.</td>
@@ -259,6 +269,11 @@ options is explained in detail below.</p
 <td>Turn off all comment output in the generated vocabulary</td>
 </tr>
 <tr>
+<td><code>--nodatatypes</code></td>
+<td><code>sgen:nodatatypes</code></td>
+<td>Option to suppress datatypes in the generated vocabulary file.</td>
+</tr>
+<tr>
 <td><code>--noheader</code></td>
 <td><code>sgen:noHeader</code></td>
 <td>Prevent the output of a file header, with class comment etc.</td>
@@ -1104,16 +1119,16 @@ configuration options file.</p>
 <tbody>
 <tr>
 <td><strong>Command line</strong></td>
-<td><code>--noclasses</code><br /><code>--noproperties</code><br
/><code>--noindividuals</code></td>
+<td><code>--noclasses</code><br /><code>--nodatatypes</code><br
/><code>--noproperties</code><br /><code>--noindividuals</code></td>
 </tr>
 <tr>
 <td><strong>Config file</strong></td>
-<td><code>&lt;sgen:noclassses rdf:datatype="&amp;xsd;boolean"\&gt;true&lt;/sgen:noclassses\&gt;</code><br
/><code>&lt;sgen:noproperties rdf:datatype="&amp;xsd;boolean"\&gt;true&lt;/sgen:noproperties\&gt;</code><br
/><code>&lt;sgen:noindividuals rdf:datatype="&amp;xsd;boolean"\&gt;true&lt;/sgen:noindividuals\&gt;</code></td>
+<td><code>&lt;sgen:noclassses rdf:datatype="&amp;xsd;boolean"\&gt;true&lt;/sgen:noclassses\&gt;</code><br
/><code>&lt;sgen:nodatatypes rdf:datatype="&amp;xsd;boolean"\&gt;true&lt;/sgen:nodatatypes\&gt;</code><br
/><code>&lt;sgen:noproperties rdf:datatype="&amp;xsd;boolean"\&gt;true&lt;/sgen:noproperties\&gt;</code><br
/><code>&lt;sgen:noindividuals rdf:datatype="&amp;xsd;boolean"\&gt;true&lt;/sgen:noindividuals\&gt;</code></td>
 </tr>
 </tbody>
 </table>
 <p>By default, the vocabulary class generated from a given ontology
-will include constants for each of the included classes, properties
+will include constants for each of the included classes, datatypes, properties
 and individuals in the ontology. To omit any of these groups, use
 the corresponding <em>noXYZ</em> configuration option. For example,
 specifying <code>--noproperties</code> means that the generated class will not
@@ -1130,11 +1145,11 @@ ontology, irrespective of what is in the
 <tbody>
 <tr>
 <td><strong>Command line</strong></td>
-<td><code>--classSection *&lt;section heading\&gt;*</code><br
/><code>--propSection*&lt;section heading\&gt;*</code><br /><code>--individualSection
*&lt;section heading*\&gt;</code><br /><code>--header *&lt;file
header section\&gt;*</code><br /><code>--footer *&lt;file footer
section\&gt;*</code></td>
+<td><code>--classSection *&lt;section heading\&gt;*</code><br
/><code>--datatypeSection *&lt;section heading\&gt;*</code><br /><code>--propSection
*&lt;section heading\&gt;*</code><br /><code>--individualSection
*&lt;section heading*\&gt;</code><br /><code>--header *&lt;file
header section\&gt;*</code><br /><code>--footer *&lt;file footer
section\&gt;*</code></td>
 </tr>
 <tr>
 <td><strong>Config file</strong></td>
-<td><code>&lt;sgen:classSection rdf:datatype="&amp;xsd;string"\&gt;*section
heading*&lt;/sgen:classSection\&gt;</code><br /><code>&lt;sgen:propSection
rdf:datatype="&amp;xsd;string"\&gt;*section heading*&lt;/sgen:propSection\&gt;</code><br
/><code>&lt;sgen:individualSection rdf:datatype="&amp;xsd;string"\&gt;*section
heading*&lt;/sgen:individualSection\&gt;</code><br /><code>&lt;sgen:header
rdf:datatype="&amp;xsd;string"\&gt;*file header*&lt;/sgen:header\&gt;</code><br
/><code>&lt;sgen:footer rdf:datatype="&amp;xsd;string"\&gt;*file footer*&lt;/sgen:footer\&gt;</code></td>
+<td><code>&lt;sgen:classSection rdf:datatype="&amp;xsd;string"\&gt;*section
heading*&lt;/sgen:classSection\&gt;</code><br /><code>&lt;sgen:datatypeSection
rdf:datatype="&amp;xsd;string"\&gt;*section heading*&lt;/sgen:datatypeSection\&gt;</code><br
/><code>&lt;sgen:propSection rdf:datatype="&amp;xsd;string"\&gt;*section
heading*&lt;/sgen:propSection\&gt;</code><br /><code>&lt;sgen:individualSection
rdf:datatype="&amp;xsd;string"\&gt;*section heading*&lt;/sgen:individualSection\&gt;</code><br
/><code>&lt;sgen:header rdf:datatype="&amp;xsd;string"\&gt;*file header*&lt;/sgen:header\&gt;</code><br
/><code>&lt;sgen:footer rdf:datatype="&amp;xsd;string"\&gt;*file footer*&lt;/sgen:footer\&gt;</code></td>
 </tr>
 </tbody>
 </table>
@@ -1142,8 +1157,8 @@ ontology, irrespective of what is in the
 sections of a class. These options allow the introduction of
 arbitrary Java code, though typically this will be a comment block,
 at the head of the sections of class constant declarations,
-property constant declarations, and individual constant
-declarations.</p>
+datatype constant declarations, property constant declarations,
+and individual constant declarations.</p>
 <h3 id="include-vocabulary-source-code">Include vocabulary source code</h3>
 <table>
 <thead>
@@ -1396,6 +1411,12 @@ blue.</p>
 <span class="s2">    ///////////////////////////</span>
 <span class="s2">&lt;/sgen:classSection&gt;</span>
 
+<span class="s2">&lt;!-- template for introducing the datatypes in the vocabulary
--&gt;</span>
+<span class="s2">&lt;sgen:datatypeSection rdf:datatype=&quot;</span><span
class="ni">&amp;xsd;</span><span class="err">string</span><span
class="s2">&quot;&gt;</span>
+<span class="s2">    // Vocabulary datatypes</span>
+<span class="s2">    ///////////////////////////</span>
+<span class="s2">&lt;/sgen:datatypeSection&gt;</span>
+
 <span class="s2">&lt;!-- template for introducing the individuals in the vocabulary
--&gt;</span>
 <span class="s2">&lt;sgen:individualsSection rdf:datatype=&quot;</span><span
class="ni">&amp;xsd;</span><span class="err">string</span><span
class="s2">&quot;&gt;</span>
 <span class="s2">    // Vocabulary individuals</span>



Mime
View raw message