Author: andy
Date: Fri Jun 27 20:17:35 2014
New Revision: 1606202
URL: http://svn.apache.org/r1606202
Log:
CMS commit to jena by andy
Modified:
jena/site/trunk/content/documentation/tools/schemagen.mdtext
Modified: jena/site/trunk/content/documentation/tools/schemagen.mdtext
URL:
http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/tools/schemagen.mdtext?rev=1606202&r1=1606201&r2=1606202&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/tools/schemagen.mdtext (original)
+++ jena/site/trunk/content/documentation/tools/schemagen.mdtext Fri Jun 27
20:17:35 2014
@@ -26,40 +26,40 @@ Table 1: schemagen options
Command line option | RDF config file property | Meaning
------------------- | ------------------------ | -------
-`-a <uri\>` | `sgen:namespace` | The namespace URI for the vocabulary. Names
with this URI as prefix are automatically included in the generated vocabulary.
If not specified, the base URI of the ontology is used as a default (butnote
that some ontology documents don't define a base URI).
-`-c <filename\>`<br />`-c <url\>` | | Specify an alternative config file.
-`--classdec <string\>` | `sgen:classdec` | Additional decoration for class
header (such as `implements`)
-`--classnamesuffix <string\>` | `sgen:classnamesuffix` | Option for adding a
suffix to the generated class name, e.g. "Vocab".
-`--classSection <string\>` | `sgen:classSection` | Section declaration
comment for class section.
-`--classTemplate <string\>` | `sgen:classTemplate` | Template for writing out
declarations of class resources.
-`--datatypesSection <string\>` | `sgen:datatypesSection` | Section declaration
comment for datatypes section.
-`--datatypeTemplate <string\>` | `sgen:datatypeTemplate` | Template for
writing out declarations of datatypes.
-`--declarations <string\>` | `sgen:declarations` | Additional declarations to
add at the top of the class.
+`-a <uri>` | `sgen:namespace` | The namespace URI for the vocabulary. Names
with this URI as prefix are automatically included in the generated vocabulary.
If not specified, the base URI of the ontology is used as a default (butnote
that some ontology documents don't define a base URI).
+`-c <filename>`<br />`-c <url>` | | Specify an alternative config file.
+`--classdec <string>` | `sgen:classdec` | Additional decoration for class
header (such as `implements`)
+`--classnamesuffix <string>` | `sgen:classnamesuffix` | Option for adding a
suffix to the generated class name, e.g. "Vocab".
+`--classSection <string>` | `sgen:classSection` | Section declaration comment
for class section.
+`--classTemplate <string>` | `sgen:classTemplate` | Template for writing out
declarations of class resources.
+`--datatypesSection <string>` | `sgen:datatypesSection` | Section declaration
comment for datatypes section.
+`--datatypeTemplate <string>` | `sgen:datatypeTemplate` | Template for writing
out declarations of datatypes.
+`--declarations <string>` | `sgen:declarations` | Additional declarations to
add at the top of the class.
`--dos` | `sgen:dos` | Use MSDOS-style line endings (i.e. \\r\\n). Default is
Unix-style line endings.
-`-e <string\>` | `sgen:encoding` | The surface syntax of the input file (e.g.
RDF/XML, N3). Defaults to RDF/XML.
-`--footer <string\>` | `sgen:footer` | Template for standard text to add to
the end of the file.
-`--header <string\>` | `sgen:header` | Template for the file header, including
the class comment.
-`-i <filename\>` <br />`-i <url\>` | `sgen:input` | Specify the input document
to load
+`-e <string>` | `sgen:encoding` | The surface syntax of the input file (e.g.
RDF/XML, N3). Defaults to RDF/XML.
+`--footer <string>` | `sgen:footer` | Template for standard text to add to the
end of the file.
+`--header <string>` | `sgen:header` | Template for the file header, including
the class comment.
+`-i <filename>` <br />`-i <url>` | `sgen:input` | Specify the input document
to load
`--include <uri\>` | `sgen:include` | Option for including non-local URI's in
vocabulary
-`--individualsSection <string\>` | `sgen:individualsSection` | Section
declaration comment for individuals section.
-`--individualTemplate <string\>` | `sgen:individualTemplate` | Template for
writing out declarations of individuals.
+`--individualsSection <string>` | `sgen:individualsSection` | Section
declaration comment for individuals section.
+`--individualTemplate <string>` | `sgen:individualTemplate` | Template for
writing out declarations of individuals.
`--inference` | `sgen:inference` | Causes the model that loads the document
prior to being processed to apply inference rules appropriate to the language.
E.g. OWL inference rules will be used on a `.owl` file.
-`--marker <string\>` | `sgen:marker` | Specify the marker string for
substitutions, default is '%'
-`-n <string\>` | `sgen:classname` | The name of the generated class. The
default is to synthesise a name based on input document name.
+`--marker <string>` | `sgen:marker` | Specify the marker string for
substitutions, default is '%'
+`-n <string>` | `sgen:classname` | The name of the generated class. The
default is to synthesise a name based on input document name.
`--noclasses` | `sgen:noclasses`| Option to suppress classes in the generated
vocabulary file
`--nocomments` | `sgen:noComments` | Turn off all comment output in the
generated vocabulary
`--nodatatypes` | `sgen:nodatatypes` | Option to suppress datatypes in the
generated vocabulary file.
`--noheader` | `sgen:noHeader` | Prevent the output of a file header, with
class comment etc.
`--noindividuals` | `sgen:noindividuals` | Option to suppress individuals in
the generated vocabulary file.
`--noproperties` | `sgen:noproperties` | Option to suppress properties in the
generated vocabulary file.
-`-o <filename\>` <br /> `-o <dir\>` | `sgen:output` | Specify the destination
for the output. If the given value evaluates to a directory, the generated
class will be placed in that directory with a file name formed from the
generated (or given) class name with ".java" appended.
+`-o <filename>` <br /> `-o <dir>` | `sgen:output` | Specify the destination
for the output. If the given value evaluates to a directory, the generated
class will be placed in that directory with a file name formed from the
generated (or given) class name with ".java" appended.
`--nostrict` | `sgen:noStrict` | Option to turn off strict checking for
ontology classes and properties (prevents `ConversionExceptions`).
`--ontology` | `sgen:ontology` | The generated vocabulary will use the
ontology API terms, inpreference to RDF model API terms.
`--owl` | `sgen:owl` | Specify that the language of the source is OWL (the
default). Note that RDFS is a subset of OWL, so this setting also suffices for
RDFS.
-`--package <string\>` | `sgen:package` | Specify the Java package name and
directory.
-`--propSection <string\>` | `sgen:propSection` | Section declaration comment
for properties section.
-`--propTemplate <string\>` | `sgen:propTemplate` | Template for writing out
declarations of property resources.
-`-r <uri\>` | | Specify the uri of the root node in the RDF configuration
model.
+`--package <string>` | `sgen:package` | Specify the Java package name and
directory.
+`--propSection <string>` | `sgen:propSection` | Section declaration comment
for properties section.
+`--propTemplate <string>` | `sgen:propTemplate` | Template for writing out
declarations of property resources.
+`-r <uri>` | | Specify the uri of the root node in the RDF configuration model.
`--rdfs` | `sgen:rdfs` | Specify that the language of the source ontology is
RDFS.
`--strictIndividuals` | `sgen:strictIndividuals` | When selecting the
individuals to include in the output class, schemagen will normally include
those individuals whose `rdf:type` is in the included namespaces for the
vocabulary. However, if `strictIndividuals` is turned on, then all individuals
in theoutput class must themselves have a URI in the included namespaces.
`--uppercase` | `sgen:uppercase` | Option for mapping constant names to
uppercase (like Java constants). Default is to leave the case of names
unchanged.