Groovy Documentation

java.gate.yam.translate
Interface TranslationConstants


interface TranslationConstants

Methods used for accessing constants used in translation. Actual constants are defined in gate.yam.translate.HtmlConstants etc.

author:
Hamish Cunningham


Field Summary
int CONSTANTEND

Array position of the constant end string.

int CONSTANTNAME

Array position of the constant name / node type.

int CONSTANTSTART

Array position of the constant start string.

 
Method Summary
String[][] getConstantsTable()

Array mapping node type name to start/end strings.

String getPreamblePath()

Get the path to the preamble resource.

Object[][] getPredicatesTable()

Array mapping predicate type name to attributes.

 

Field Detail

CONSTANTEND

final int CONSTANTEND
Array position of the constant end string.


CONSTANTNAME

final int CONSTANTNAME
Array position of the constant name / node type.


CONSTANTSTART

final int CONSTANTSTART
Array position of the constant start string.


 
Method Detail

getConstantsTable

public String[][] getConstantsTable()
Array mapping node type name to start/end strings.


getPreamblePath

public String getPreamblePath()
Get the path to the preamble resource.


getPredicatesTable

public Object[][] getPredicatesTable()
Array mapping predicate type name to attributes.


 

Groovy Documentation