edu.unika.aifb.owltools.tools
Class Owlrdf2owlxml

java.lang.Object
  extended by edu.unika.aifb.owltools.tools.KAON2Tool
      extended by edu.unika.aifb.owltools.tools.Owlrdf2owlxml

public class Owlrdf2owlxml
extends KAON2Tool

owlrdf2owlxml calls KAON2 in order to load an OWL ontology in XML/RDF-serialisation and to export it in OWL/XML syntax (or the other way around)


Field Summary
 
Fields inherited from class edu.unika.aifb.owltools.tools.KAON2Tool
m_connection, printer
 
Constructor Summary
Owlrdf2owlxml()
           
 
Method Summary
 void compile()
           
static java.lang.String compileString(java.lang.String string, java.lang.String dir)
          Only used in the online version
static java.lang.String compileUri(java.lang.String uri, java.lang.String dir)
          Only used in the online version
static void main(java.lang.String[] args)
           
 java.lang.String name()
          the name of the specified tool.
static void printUsage()
          prints the command line parameters and a short info
 boolean processArguments(java.lang.String[] args)
          needs to be implemented by all tools: processArgument to process all the given command line arguments
 
Methods inherited from class edu.unika.aifb.owltools.tools.KAON2Tool
endConnection, loadOntology, printUsageError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Owlrdf2owlxml

public Owlrdf2owlxml()
Method Detail

name

public java.lang.String name()
Description copied from class: KAON2Tool
the name of the specified tool. Needs to be implemented by all tools

Specified by:
name in class KAON2Tool
Returns:
the name of the tool

main

public static void main(java.lang.String[] args)

compileUri

public static java.lang.String compileUri(java.lang.String uri,
                                          java.lang.String dir)
Only used in the online version


compileString

public static java.lang.String compileString(java.lang.String string,
                                             java.lang.String dir)
Only used in the online version


processArguments

public boolean processArguments(java.lang.String[] args)
Description copied from class: KAON2Tool
needs to be implemented by all tools: processArgument to process all the given command line arguments

Specified by:
processArguments in class KAON2Tool

compile

public void compile()

printUsage

public static void printUsage()
prints the command line parameters and a short info