public class VocabularyWriter extends Object
VocabularyWriter -i <inputrdfsfile> -o <outputdir> --package <packagename> -a <namespace> -n <nameofjavafile> -namespacestrict <false|true> -namespacestrict If true, only elements from within the namespace (-a) are generated. Default false. Example values: --package org.semanticdesktop.aperture.outlook.vocabulary -o src/outlook/org/semanticdesktop/aperture/outlook/vocabulary/ -i doc/ontology/data.rdfs -a http://aperture.semanticdesktop.org/ontology/data# -n DATA
Constructor and Description |
---|
VocabularyWriter() |
Modifier and Type | Method and Description |
---|---|
protected String |
asLegalJavaID(String s,
boolean cap)
Convert s to a legal Java identifier; capitalise first char if cap is
true this method is copied from jena code.
|
void |
generateElement(URI type,
boolean isProperty) |
void |
getOpt(String[] args) |
void |
go(String[] args) |
static void |
main(String[] args)
documentation see class, above.
|
void |
printCommentAndLabel(URI uri)
print comment and label of the uri to the passed stream
|
public void generateElement(URI type, boolean isProperty) throws Exception
Exception
public void printCommentAndLabel(URI uri) throws Exception
uri
- of a resourceException
public static void main(String[] args) throws Exception
Exception
Copyright © 2005–2018 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.