edu.unika.aifb.owltools.tools
Class Latex

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

public class Latex
extends KAON2Tool

Latex makes a DL-rendering fo an ontology that can be used within Latex


Field Summary
 
Fields inherited from class edu.unika.aifb.owltools.tools.KAON2Tool
m_connection, printer
 
Constructor Summary
Latex()
           
 
Method Summary
 void compile()
          Entry point for the command line based usage of the latex owl tool
 java.util.List<java.lang.String> latex(org.semanticweb.kaon2.api.Ontology ontology, boolean simple)
          creates a latex program out of an ontology
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 owl tool
static void printUsage()
          prints the command line parameters and a short info
 boolean processArguments(java.lang.String[] args)
          Processes the 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

Latex

public Latex()
Method Detail

name

public java.lang.String name()
the name of the owl 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

processArguments

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

Specified by:
processArguments in class KAON2Tool
Parameters:
args - The command line arguments

latex

public java.util.List<java.lang.String> latex(org.semanticweb.kaon2.api.Ontology ontology,
                                              boolean simple)
                                       throws org.semanticweb.kaon2.api.KAON2Exception
creates a latex program out of an ontology

Parameters:
ontology - The ontology to be tex'ed
simple - Simple layout or not?
Returns:
the latex program (a list of strings that are the lines in the program)
Throws:
org.semanticweb.kaon2.api.KAON2Exception

compile

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


printUsage

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