edu.unika.aifb.owltools.tools
Class Syntax

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

public class Syntax
extends KAON2Tool

Syntax calls KAON2 in order to load an OWL ontology in one serialisation and to export it in another


Field Summary
 
Fields inherited from class edu.unika.aifb.owltools.tools.KAON2Tool
m_connection, printer
 
Constructor Summary
Syntax()
           
 
Method Summary
 void compile()
          Entry point for the command line based usage of the Filter owl tool
 java.lang.String compileString(java.lang.String string, java.lang.String dir)
          Creates a converted ontology from an input String.
 java.lang.String compileUri(java.lang.String uri, java.lang.String dir)
          Creates a String with the converted ontology (from an URI).
static void main(java.lang.String[] args)
          To be called when used from a standalone command line tool
 java.lang.String name()
          the name of the tool
static void printUsage()
          prints the command line parameters and a short info
 boolean processArguments(java.lang.String[] args)
          process 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

Syntax

public Syntax()
Method Detail

name

public java.lang.String name()
the name of the tool

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

main

public static void main(java.lang.String[] args)
To be called when used from a standalone command line tool

Parameters:
args - Command line parameters

compileUri

public java.lang.String compileUri(java.lang.String uri,
                                   java.lang.String dir)
Creates a String with the converted ontology (from an URI). Only used in the online version


compileString

public java.lang.String compileString(java.lang.String string,
                                      java.lang.String dir)
Creates a converted ontology from an input String. Only used in the online version


processArguments

public boolean processArguments(java.lang.String[] args)
process command line arguments

Specified by:
processArguments in class KAON2Tool

compile

public void compile()
Entry point for the command line based usage of the Filter owl tool


printUsage

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