|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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.
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 |
---|
public WikiHTMLTarget()
public WikiHTMLTarget(Writer out)
Method Detail |
---|
public void begin()
public void end()
public String getTargetLanguage()
public void title(String title)
public void wikilink(String url, String title)
Groovy Documentation