gate.wiki.antlr
Interface YAMTarget

All Known Implementing Classes:
DBGTarget, HTMLTarget, LaTeXTarget, LoutTarget, NOPTarget, WikiHTMLTarget, XHTMLTarget

public interface YAMTarget


Method Summary
 void anchor(String name)
           
 void begin_ol(int level)
           
 void begin_table()
           
 void begin_ul(int level)
           
 void begin()
          Called before text read
 String beginBF()
           
 String beginEM()
           
 void beginListItem(int level)
           
 void beginSection(String title, int level)
           
 void beginSectionList(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 c(YAMContext context, Vector args)
           
 void cite(YAMContext context, Vector args)
          Former plugins
 void code(String c)
           
 void col()
           
 void contents()
           
 void date(YAMContext context, Vector args)
           
 void delete(YAMContext context, Vector args)
           
 void end_ol(int level)
           
 void end_table()
           
 void end_ul(int level)
           
 void end()
          Called after all text read and translated
 String endBF()
           
 String endEM()
           
 void endListItem(int level)
           
 void endSection(int level)
           
 void endSectionList(int level)
           
 String endTT()
           
 void eps(YAMContext context, Vector args)
           
 void footnote(YAMContext context, Vector args)
           
 String getTargetLanguage()
          Typically "HTML", or "Lout"
 void hr()
           
 void image(YAMContext context, Vector args)
           
 void include(YAMContext context, Vector args)
           
 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
 void wikilink(String url, String title)
           
 

Method Detail

getTargetLanguage

String getTargetLanguage()
Typically "HTML", or "Lout"


begin

void begin()
Called before text read


end

void end()
Called after all text read and translated


text

void text(String t)

bold

void bold(String t)

italic

void italic(String t)

tt

void tt(String t)

beginListItem

void beginListItem(int level)

endListItem

void endListItem(int level)

begin_ul

void begin_ul(int level)

begin_ol

void begin_ol(int level)

end_ul

void end_ul(int level)

end_ol

void end_ol(int level)

paragraph

void paragraph()

linebreak

void linebreak()
They want a new line in a paragraph


blankline

void blankline()
They want a blank line without signaling a new paragraph. Useful for new "paragraphs" within a single bullet.


code

void code(String c)

verbatim

void verbatim(String rawOutput)
Assume rawOutput is in output language and just dump


blockquote

void blockquote(String q)

link

void link(String url,
          String title)

anchor

void anchor(String name)

title

void title(String title)

beginSection

void beginSection(String title,
                  int level)

endSection

void endSection(int level)

beginSectionList

void beginSectionList(int level)

endSectionList

void endSectionList(int level)

col

void col()

row

void row()

hr

void hr()

begin_table

void begin_table()

end_table

void end_table()

beginEM

String beginEM()

endEM

String endEM()

beginTT

String beginTT()

endTT

String endTT()

beginBF

String beginBF()

endBF

String endBF()

longdash

void longdash()

contents

void contents()

wikilink

void wikilink(String url,
              String title)

cite

void cite(YAMContext context,
          Vector args)
Former plugins


image

void image(YAMContext context,
           Vector args)

notes

void notes(YAMContext context,
           Vector args)

box

void box(YAMContext context,
         Vector args)

c

void c(YAMContext context,
       Vector args)

date

void date(YAMContext context,
          Vector args)

delete

void delete(YAMContext context,
            Vector args)

eps

void eps(YAMContext context,
         Vector args)

footnote

void footnote(YAMContext context,
              Vector args)

include

void include(YAMContext context,
             Vector args)

syndiag

void syndiag(YAMContext context,
             Vector args)

tree

void tree(YAMContext context,
          Vector args)