|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jena.schemagen
public class schemagen
A vocabulary generator, that will consume an ontology or other vocabulary file, and generate a Java file with the constants from the vocabulary compiled in. Designed to be highly flexible and customisable.
Nested Class Summary | |
---|---|
static class |
schemagen.OptionDefinition
An option that can be set either on the command line or in the RDF config |
static class |
schemagen.SchemagenException
Schemagen runtime exception |
static interface |
schemagen.SchemagenOptions
|
static class |
schemagen.SchemagenOptionsImpl
|
static class |
schemagen.SchemagenUtils
Utility method container |
Field Summary | |
---|---|
static int |
COMMENT_LENGTH_LIMIT
Default line length for comments before wrap |
static String |
DEFAULT_CONFIG_URI
The default location of the configuration model is "file:schemagen.rdf" |
static String |
DEFAULT_HEADER_TEMPLATE
Default template for the file header |
static String |
DEFAULT_INDIVIDUAL_TEMPLATE
Default template for writing out individual declarations |
static String |
DEFAULT_MARKER
The default marker string for denoting substitutions is "%" |
static String |
DEFAULT_RDFS_INDIVIDUAL_TEMPLATE
Default template for writing out individual declarations for non-ontology vocabularies |
static String |
DEFAULT_TEMPLATE
Default template for writing out value declarations |
static String[] |
JAVA_KEYWORDS
List of Java reserved keywords, see this list. |
static String |
NS
The namespace for the configuration model is "http://jena.hpl.hp.com/2003/04/schemagen#" |
Constructor Summary | |
---|---|
schemagen()
|
Method Summary | |
---|---|
static void |
main(String... args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NS
public static final String DEFAULT_CONFIG_URI
public static final String DEFAULT_MARKER
public static final String DEFAULT_TEMPLATE
public static final String DEFAULT_INDIVIDUAL_TEMPLATE
public static final String DEFAULT_RDFS_INDIVIDUAL_TEMPLATE
public static final String DEFAULT_HEADER_TEMPLATE
public static final int COMMENT_LENGTH_LIMIT
public static final String[] JAVA_KEYWORDS
Constructor Detail |
---|
public schemagen()
Method Detail |
---|
public static void main(String... args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |