gate.yam.translate
Interface HtmlConstants

All Known Implementing Classes:
HtmlConstantsTests, HtmlTranslator

public interface HtmlConstants

Constants used when translating HTML. One entry for each type of parse tree node. Each entry contains the node type name, the start constant and the end constant.

 constantsTable[CONSTANTNAME] is the node type name
 constantsTable[CONSTANTSTART] is the start string
 constantsTable[CONSTANTEND] is the end string
 
A separate map is defined for predicates, and there are misc patterns for e.g. headings construction.

Author:
Hamish Cunningham

Field Summary
static String[] footnoteAttrs
          Attributes allowed on footnotes.
static String[][] htmlConstantsTable
          Array mapping node type name to start/end strings.
static Object[][] htmlPredicatesTable
          Array mapping predicate type name to attributes.
static String[] imageAttrs
          Attributes allowed on images.
static String[] includeAttrs
          Attributes allowed on includes.
 

Field Detail

htmlConstantsTable

static final String[][] htmlConstantsTable
Array mapping node type name to start/end strings.


imageAttrs

static final String[] imageAttrs
Attributes allowed on images.


footnoteAttrs

static final String[] footnoteAttrs
Attributes allowed on footnotes.


includeAttrs

static final String[] includeAttrs
Attributes allowed on includes.


htmlPredicatesTable

static final Object[][] htmlPredicatesTable
Array mapping predicate type name to attributes.