|
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.XHTMLTarget
class XHTMLTarget extends NOPTarget
XHTML target
Field Summary | |
---|---|
static int |
HEADING_DEPTH
The depth of titles in an HTML file, for examp1e ... |
protected static Hashtable |
HTML_map
Used by the c() method |
protected static StringBuffer |
fileContents
Collects the output from the file so that the table of contents can be added before the rest of the output. |
protected static int[] |
headingCount
Keeps track of the heading numbering |
protected static boolean |
inContents
|
protected static StringBuffer |
tableOfContents
Collects the contents of the Table of Contents |
Fields inherited from class NOPTarget | |
---|---|
lastCommand, out |
Constructor Summary | |
XHTMLTarget()
|
|
XHTMLTarget(Writer out)
|
Method Summary | |
---|---|
void
|
anchor(String name)
|
protected String
|
angleBracketsEscape(String q)
|
void
|
begin()
insert head.html if found |
String
|
beginBF()
|
String
|
beginEM()
|
void
|
beginListItem(int level)
|
void
|
beginSection(String title, int level)
|
String
|
beginTT()
|
void
|
begin_ol(int level)
|
void
|
begin_table()
|
void
|
begin_ul(int level)
|
void
|
blankline()
|
void
|
blockquote(String q)
|
void
|
bold(String t)
|
void
|
box(YAMContext context, Vector args)
|
void
|
c(YAMContext context, Vector args)
|
void
|
cite(YAMContext context, Vector args)
|
void
|
code(String c)
|
void
|
col()
|
void
|
contents()
|
void
|
date(YAMContext context, Vector args)
|
void
|
delete(YAMContext context, Vector args)
|
void
|
end()
insert tail.html if found |
String
|
endBF()
|
String
|
endEM()
|
void
|
endListItem(int level)
|
String
|
endTT()
|
void
|
end_ol(int level)
|
void
|
end_table()
|
void
|
end_ul(int level)
|
void
|
eps(YAMContext context, Vector args)
|
protected String
|
extractLastCommand(String text)
|
void
|
footnote(YAMContext context, Vector args)
|
String
|
getTargetLanguage()
|
void
|
hr()
|
void
|
image(YAMContext context, Vector args)
Former plugins were turned into methods |
void
|
italic(String t)
|
void
|
linebreak()
|
void
|
link(String url, String title)
|
void
|
longdash()
|
void
|
notes(YAMContext context, Vector args)
|
void
|
paragraph()
|
protected void
|
resetContents()
This function NEEDS to be here. |
void
|
row()
|
protected String
|
strip(String s)
|
void
|
syndiag(YAMContext context, Vector args)
|
void
|
text(String t)
|
void
|
title(String title)
|
void
|
tree(YAMContext context, Vector args)
|
void
|
tt(String t)
|
void
|
verbatim(String rawOutput)
|
protected void
|
write(String s)
|
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 |
Field Detail |
---|
static int HEADING_DEPTH
protected static Hashtable HTML_map
protected static StringBuffer fileContents
protected static int[] headingCount
protected static boolean inContents
protected static StringBuffer tableOfContents
Constructor Detail |
---|
public XHTMLTarget()
public XHTMLTarget(Writer out)
Method Detail |
---|
public void anchor(String name)
protected String angleBracketsEscape(String q)
public void begin()
public String beginBF()
public String beginEM()
public void beginListItem(int level)
public void beginSection(String title, int level)
public String beginTT()
public void begin_ol(int level)
public void begin_table()
public void begin_ul(int level)
public void blankline()
public void blockquote(String q)
public void bold(String t)
public void box(YAMContext context, Vector args)
public void c(YAMContext context, Vector args)
public void cite(YAMContext context, Vector args)
public void code(String c)
public void col()
public void contents()
public void date(YAMContext context, Vector args)
public void delete(YAMContext context, Vector args)
public void end()
public String endBF()
public String endEM()
public void endListItem(int level)
public String endTT()
public void end_ol(int level)
public void end_table()
public void end_ul(int level)
public void eps(YAMContext context, Vector args)
protected String extractLastCommand(String text)
public void footnote(YAMContext context, Vector args)
public String getTargetLanguage()
public void hr()
public void image(YAMContext context, Vector args)
public void italic(String t)
public void linebreak()
public void link(String url, String title)
public void longdash()
public void notes(YAMContext context, Vector args)
public void paragraph()
protected void resetContents()
public void row()
protected String strip(String s)
public void syndiag(YAMContext context, Vector args)
public void text(String t)
public void title(String title)
public void tree(YAMContext context, Vector args)
public void tt(String t)
public void verbatim(String rawOutput)
protected void write(String s)
Groovy Documentation