Hilbert II - Version 0.03.01

org.qedeq.kernel.rel.test.text
Class Xml2Latex

java.lang.Object
  extended byorg.qedeq.kernel.rel.test.text.Xml2Latex

public final class Xml2Latex
extends Object

Test application.

Version:
$Revision: 1.24 $

Method Summary
static String generate(File from, File to, String language, String level)
          Generate LaTeX file out of XML file.
static String generate(String from, String to, String language, String level)
          Generate LaTeX file out of XML file.
static void main(String[] args)
          Main method.
static void printProgramInformation()
          Writes calling convention to System.err.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
Main method.

Parameters:
args - Various parameters. See implementation of printProgramInformation().

printProgramInformation

public static void printProgramInformation()
Writes calling convention to System.err.


generate

public static String generate(String from,
                              String to,
                              String language,
                              String level)
                       throws XmlFilePositionException
Generate LaTeX file out of XML file. Also initializes trace file.

Parameters:
from - Read this XML file.
to - Write to this file. Could be null.
language - Resulting language. Could be null.
level - Resulting detail level. Could be null.
Returns:
File name of generated LaTeX file.
Throws:
XmlFilePositionException

generate

public static String generate(File from,
                              File to,
                              String language,
                              String level)
                       throws XmlFilePositionException
Generate LaTeX file out of XML file.

Parameters:
from - Read this XML file.
to - Write to this file. Could be null.
language - Resulting language. Could be null.
level - Resulting detail level. Could be null.
Returns:
File name of generated LaTeX file.
Throws:
XmlFilePositionException

Hilbert II - Version 0.03.01

©left GNU General Public Licence
All Rights Reserved.