gate.yam.translate
Class LaTeXTranslator
java.lang.Object
gate.yam.translate.AbstractTranslator
gate.yam.translate.LaTeXTranslator
- All Implemented Interfaces:
- LaTeXConstants, TranslationConstants
public class LaTeXTranslator
- extends AbstractTranslator
- implements LaTeXConstants
This class provides translation of YAM into LaTeX.
- Author:
- Hamish Cunningham
Methods inherited from class gate.yam.translate.AbstractTranslator |
addToFooter, getConstantEnd, getConstantStart, makeContents, makePreamble, printEndNotes, printTree, printTree, printTree, setIOHandler, setParseTree, setWriter, translate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LaTeXTranslator
public LaTeXTranslator()
- Construction.
getPreamblePath
public String getPreamblePath()
- Get the path to the preamble resource.
- Specified by:
getPreamblePath
in interface TranslationConstants
getConstantsTable
public String[][] getConstantsTable()
- Array mapping node type name to start/end strings.
- Specified by:
getConstantsTable
in interface TranslationConstants
getPredicatesTable
public Object[][] getPredicatesTable()
- Array mapping predicate type name to attributes.
- Specified by:
getPredicatesTable
in interface TranslationConstants
processURLs
public void processURLs(SimpleNode node)
throws gate.util.GateException
- Process URLs and Anchors.
- Specified by:
processURLs
in class AbstractTranslator
- Throws:
gate.util.GateException