Groovy Documentation

java.gate.yam.translate
Interface HtmlConstants


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
String[] footnoteAttrs

Attributes allowed on footnotes.

String[][] htmlConstantsTable

Array mapping node type name to start/end strings.

Object[][] htmlPredicatesTable

Array mapping predicate type name to attributes.

String[] imageAttrs

Attributes allowed on images.

String[] includeAttrs

Attributes allowed on includes.

 

Field Detail

footnoteAttrs

final String[] footnoteAttrs
Attributes allowed on footnotes.


htmlConstantsTable

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


htmlPredicatesTable

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


imageAttrs

final String[] imageAttrs
Attributes allowed on images.


includeAttrs

final String[] includeAttrs
Attributes allowed on includes.


 

Groovy Documentation