|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.wiki.antlr.NOPTarget
gate.wiki.antlr.LaTeXTarget
public class LaTeXTarget
| Field Summary |
|---|
| Fields inherited from class gate.wiki.antlr.NOPTarget |
|---|
lastCommand, out |
| Constructor Summary | |
|---|---|
LaTeXTarget()
|
|
LaTeXTarget(Writer out)
|
|
| Method Summary | |
|---|---|
void |
anchor(String name)
|
protected String |
angleBracketsEscape(String q)
|
void |
begin_ol(int level)
|
void |
begin_table()
|
void |
begin_ul(int level)
|
void |
begin()
insert head.html if found |
String |
beginBF()
|
String |
beginEM()
|
void |
beginListItem(int level)
|
void |
beginSection(String title,
int level)
|
String |
beginTT()
|
void |
blankline()
They want a blank line without signaling a new paragraph. |
void |
blockquote(String q)
|
void |
bold(String t)
|
void |
box(YAMContext context,
Vector args)
|
void |
cite(YAMContext context,
Vector args)
Former plugins |
void |
code(String c)
|
void |
col()
|
void |
contents()
|
void |
end_ol(int level)
|
void |
end_table()
|
void |
end_ul(int level)
|
void |
end()
insert tail.html if found |
String |
endBF()
|
String |
endEM()
|
void |
endListItem(int level)
|
String |
endTT()
|
void |
eps(YAMContext context,
Vector args)
|
protected String |
extractLastCommand(String text)
Subclasses should implement this; i.e., pull out <... |
void |
footnote(YAMContext context,
Vector args)
|
String |
getTargetLanguage()
Typically "HTML", or "Lout" |
void |
hr()
|
void |
image(YAMContext context,
Vector args)
Former plugins were turned into methods |
void |
italic(String t)
|
void |
linebreak()
They want a new line in a paragraph |
void |
link(String url,
String title)
|
void |
longdash()
|
void |
notes(YAMContext context,
Vector args)
|
void |
paragraph()
|
void |
row()
|
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)
Assume rawOutput is in output language and just dump |
protected void |
write(String s)
|
| Methods inherited from class gate.wiki.antlr.NOPTarget |
|---|
beginSectionList, c, date, delete, endSection, endSectionList, getLastOutputCommand, include, wikilink, writeln |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LaTeXTarget()
public LaTeXTarget(Writer out)
| Method Detail |
|---|
public String getTargetLanguage()
YAMTarget
getTargetLanguage in interface YAMTargetgetTargetLanguage in class NOPTargetprotected void write(String s)
write in class NOPTargetpublic void begin()
begin in interface YAMTargetbegin in class NOPTargetpublic void end()
end in interface YAMTargetend in class NOPTargetprotected String extractLastCommand(String text)
NOPTarget
extractLastCommand in class NOPTargetpublic void text(String t)
text in interface YAMTargettext in class NOPTargetpublic void bold(String t)
bold in interface YAMTargetbold in class NOPTargetpublic void italic(String t)
italic in interface YAMTargetitalic in class NOPTargetpublic void tt(String t)
tt in interface YAMTargettt in class NOPTargetpublic void beginListItem(int level)
beginListItem in interface YAMTargetbeginListItem in class NOPTargetpublic void endListItem(int level)
endListItem in interface YAMTargetendListItem in class NOPTargetpublic void begin_ul(int level)
begin_ul in interface YAMTargetbegin_ul in class NOPTargetpublic void end_ul(int level)
end_ul in interface YAMTargetend_ul in class NOPTargetpublic void begin_ol(int level)
begin_ol in interface YAMTargetbegin_ol in class NOPTargetpublic void end_ol(int level)
end_ol in interface YAMTargetend_ol in class NOPTargetpublic void paragraph()
paragraph in interface YAMTargetparagraph in class NOPTargetpublic void linebreak()
YAMTarget
linebreak in interface YAMTargetlinebreak in class NOPTargetpublic void blankline()
YAMTarget
blankline in interface YAMTargetblankline in class NOPTargetpublic void code(String c)
code in interface YAMTargetcode in class NOPTargetpublic void verbatim(String rawOutput)
YAMTarget
verbatim in interface YAMTargetverbatim in class NOPTargetpublic void blockquote(String q)
blockquote in interface YAMTargetblockquote in class NOPTarget
public void link(String url,
String title)
link in interface YAMTargetlink in class NOPTargetpublic void anchor(String name)
anchor in interface YAMTargetanchor in class NOPTargetpublic void title(String title)
title in interface YAMTargettitle in class NOPTarget
public void beginSection(String title,
int level)
beginSection in interface YAMTargetbeginSection in class NOPTargetpublic void begin_table()
begin_table in interface YAMTargetbegin_table in class NOPTargetpublic void end_table()
end_table in interface YAMTargetend_table in class NOPTargetpublic void col()
col in interface YAMTargetcol in class NOPTargetpublic void row()
row in interface YAMTargetrow in class NOPTargetprotected String angleBracketsEscape(String q)
public void hr()
hr in interface YAMTargethr in class NOPTargetpublic String beginEM()
beginEM in interface YAMTargetbeginEM in class NOPTargetpublic String endEM()
endEM in interface YAMTargetendEM in class NOPTargetpublic String beginTT()
beginTT in interface YAMTargetbeginTT in class NOPTargetpublic String endTT()
endTT in interface YAMTargetendTT in class NOPTargetpublic String beginBF()
beginBF in interface YAMTargetbeginBF in class NOPTargetpublic String endBF()
endBF in interface YAMTargetendBF in class NOPTargetpublic void longdash()
longdash in interface YAMTargetlongdash in class NOPTargetpublic void contents()
contents in interface YAMTargetcontents in class NOPTarget
public void image(YAMContext context,
Vector args)
image in interface YAMTargetimage in class NOPTarget
public void cite(YAMContext context,
Vector args)
YAMTarget
cite in interface YAMTargetcite in class NOPTarget
public void box(YAMContext context,
Vector args)
box in interface YAMTargetbox in class NOPTarget
public void eps(YAMContext context,
Vector args)
eps in interface YAMTargeteps in class NOPTarget
public void footnote(YAMContext context,
Vector args)
footnote in interface YAMTargetfootnote in class NOPTarget
public void notes(YAMContext context,
Vector args)
notes in interface YAMTargetnotes in class NOPTarget
public void syndiag(YAMContext context,
Vector args)
syndiag in interface YAMTargetsyndiag in class NOPTarget
public void tree(YAMContext context,
Vector args)
tree in interface YAMTargettree in class NOPTarget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||