Groovy Documentation

java.gate.wiki.antlr
Class WikiHTMLTarget

java.lang.Object
  java.gate.wiki.antlr.NOPTarget
      java.gate.wiki.antlr.HTMLTarget
          java.gate.wiki.antlr.WikiHTMLTarget

class WikiHTMLTarget
extends HTMLTarget

This class implements translation to HTML with WikiLinks and without headers. This is beneficial when making a segmented page, with different files being brought together, you might not want header and title information.

author:
tamara


Field Summary
 
Fields inherited from class HTMLTarget
HTML_map, fileContents, headingCount, inContents, tableOfContents
 
Fields inherited from class NOPTarget
lastCommand, out
 
Constructor Summary
WikiHTMLTarget()

Keeps track of the heading numbering

WikiHTMLTarget(Writer out)

 
Method Summary
void begin()

insert head.html if found

void end()

insert tail.html if found

String getTargetLanguage()

void title(String title)

void wikilink(String url, String title)

wikilinks should be implemented here.

 
Methods inherited from class HTMLTarget
anchor, angleBracketsEscape, begin, beginBF, beginEM, beginListItem, beginSection, beginTT, begin_ol, begin_table, begin_ul, blankline, blockquote, bold, box, c, cite, code, col, contents, date, delete, end, endBF, endEM, endListItem, endTT, end_ol, end_table, end_ul, eps, extractLastCommand, footnote, getTargetLanguage, hr, image, italic, linebreak, link, longdash, notes, paragraph, resetContents, row, strip, syndiag, text, title, tree, tt, verbatim, write
 
Methods inherited from class NOPTarget
anchor, begin, beginBF, beginEM, beginListItem, beginSection, beginSectionList, beginTT, begin_ol, begin_table, begin_ul, blankline, blockquote, bold, box, c, cite, code, col, contents, date, delete, end, endBF, endEM, endListItem, endSection, endSectionList, endTT, end_ol, end_table, end_ul, eps, extractLastCommand, footnote, getLastOutputCommand, getTargetLanguage, hr, image, include, italic, linebreak, link, longdash, notes, paragraph, row, syndiag, text, title, tree, tt, verbatim, wikilink, write, writeln
 

Constructor Detail

WikiHTMLTarget

public WikiHTMLTarget()
Keeps track of the heading numbering


WikiHTMLTarget

public WikiHTMLTarget(Writer out)


 
Method Detail

begin

public void begin()
insert head.html if found


end

public void end()
insert tail.html if found


getTargetLanguage

public String getTargetLanguage()


title

public void title(String title)


wikilink

public void wikilink(String url, String title)
wikilinks should be implemented here. Support for checking for existing pages should also be implemented here.


 

Groovy Documentation