Overview
The Gloze Translator would wrap the Gloze Library into a Class that follows the same conventions as other VIVO translators.
Parameters
Short Option |
Long Option |
Parameter Value Map |
Description |
Required |
---|---|---|---|---|
i |
input |
CONFIG_FILE |
config file for input record handler |
true |
o |
output |
CONFIG_FILE |
config file for output record handler |
true |
z |
xslSchema |
XSL_SCHEMA |
the schema that gloze needs to translate the xml file |
true |
u |
uriBase |
URI_BASE |
uri base |
true |
Properties
Name |
Type |
Visibility |
Description |
namespace |
string |
private |
The namespace to create xml nodes under |
Methods
Execute
inputs |
none |
outputs |
None |
flow |
check for properties |
true:
print start
call gloze translation method
print end
false:
log error as Illegal Arguments
throw IllegalArgumentException |
GlozeTranslation
inputs |
none |
outputs |
None |
flow |
create instance of gloze |
create instance of jena Model
Transfer InputStream into a Document
call Lift Method from gloze
Output Model in xml/rdf |
main
Arguments |
inputFile |
Namespace |
Returns |
XML/RDF String of Model |
flow |
check for attributes |
set InputStream
set Namespace
set OutputStream to System.out
call glozeTranslation |