public class WikiSerializerHandler
extends org.wikimodel.wem.PrintListener
Constructor and Description |
---|
WikiSerializerHandler(WikiSerializer engine) |
Modifier and Type | Method and Description |
---|---|
void |
beginDefinitionDescription() |
void |
beginDefinitionList(org.wikimodel.wem.WikiParameters parameters) |
void |
beginDefinitionTerm() |
void |
beginDocument() |
void |
beginFormat(org.wikimodel.wem.WikiFormat format) |
void |
beginHeader(int level,
org.wikimodel.wem.WikiParameters params) |
void |
beginInfoBlock(char infoType,
org.wikimodel.wem.WikiParameters params) |
void |
beginList(org.wikimodel.wem.WikiParameters parameters,
boolean ordered) |
void |
beginListItem() |
void |
beginParagraph(org.wikimodel.wem.WikiParameters params) |
void |
beginPropertyBlock(String propertyUri,
boolean doc) |
void |
beginPropertyInline(String str) |
void |
beginQuotation(org.wikimodel.wem.WikiParameters params) |
void |
beginQuotationLine() |
void |
beginTable(org.wikimodel.wem.WikiParameters params) |
void |
beginTableCell(boolean tableHead,
org.wikimodel.wem.WikiParameters params) |
void |
beginTableRow(org.wikimodel.wem.WikiParameters params) |
void |
endDefinitionDescription() |
void |
endDefinitionList(org.wikimodel.wem.WikiParameters parameters) |
void |
endDefinitionTerm() |
void |
endDocument() |
void |
endFormat(org.wikimodel.wem.WikiFormat format) |
void |
endHeader(int level,
org.wikimodel.wem.WikiParameters params) |
void |
endInfoBlock(char infoType,
org.wikimodel.wem.WikiParameters params) |
void |
endList(org.wikimodel.wem.WikiParameters parameters,
boolean ordered) |
void |
endListItem() |
void |
endParagraph(org.wikimodel.wem.WikiParameters params) |
void |
endPropertyBlock(String propertyUri,
boolean doc) |
void |
endPropertyInline(String inlineProperty) |
void |
endQuotation(org.wikimodel.wem.WikiParameters params) |
void |
endQuotationLine() |
void |
endTable(org.wikimodel.wem.WikiParameters params) |
void |
endTableCell(boolean tableHead,
org.wikimodel.wem.WikiParameters params) |
void |
endTableRow(org.wikimodel.wem.WikiParameters params) |
freemarker.core.Environment |
getEnvironment() |
WikiWriter |
getWriter() |
void |
onEmptyLines(int count) |
void |
onEscape(String str) |
void |
onExtensionBlock(String extensionName,
org.wikimodel.wem.WikiParameters params) |
void |
onExtensionInline(String extensionName,
org.wikimodel.wem.WikiParameters params) |
void |
onHorizontalLine() |
void |
onLineBreak() |
void |
onMacroBlock(String macroName,
org.wikimodel.wem.WikiParameters params,
String content) |
void |
onMacroInline(String macroName,
org.wikimodel.wem.WikiParameters params,
String content) |
void |
onNewLine() |
void |
onReference(String ref,
boolean explicitLink) |
void |
onSpace(String str) |
void |
onSpecialSymbol(String str) |
void |
onTableCaption(String str) |
void |
onVerbatimBlock(String str) |
void |
onVerbatimInline(String str) |
void |
onWord(String word) |
public static final Log log
public WikiSerializerHandler(WikiSerializer engine)
public WikiWriter getWriter()
public freemarker.core.Environment getEnvironment()
public void beginDefinitionDescription()
beginDefinitionDescription
in interface org.wikimodel.wem.IWemListener
beginDefinitionDescription
in class org.wikimodel.wem.PrintListener
public void beginDefinitionList(org.wikimodel.wem.WikiParameters parameters)
beginDefinitionList
in interface org.wikimodel.wem.IWemListener
beginDefinitionList
in class org.wikimodel.wem.PrintListener
public void beginDefinitionTerm()
beginDefinitionTerm
in interface org.wikimodel.wem.IWemListener
beginDefinitionTerm
in class org.wikimodel.wem.PrintListener
public void beginDocument()
beginDocument
in interface org.wikimodel.wem.IWemListener
beginDocument
in class org.wikimodel.wem.PrintListener
public void beginFormat(org.wikimodel.wem.WikiFormat format)
beginFormat
in interface org.wikimodel.wem.IWemListener
beginFormat
in class org.wikimodel.wem.PrintInlineListener
public void beginHeader(int level, org.wikimodel.wem.WikiParameters params)
beginHeader
in interface org.wikimodel.wem.IWemListener
beginHeader
in class org.wikimodel.wem.PrintListener
public void beginInfoBlock(char infoType, org.wikimodel.wem.WikiParameters params)
beginInfoBlock
in interface org.wikimodel.wem.IWemListener
beginInfoBlock
in class org.wikimodel.wem.PrintListener
public void beginList(org.wikimodel.wem.WikiParameters parameters, boolean ordered)
beginList
in interface org.wikimodel.wem.IWemListener
beginList
in class org.wikimodel.wem.PrintListener
public void beginListItem()
beginListItem
in interface org.wikimodel.wem.IWemListener
beginListItem
in class org.wikimodel.wem.PrintListener
public void beginParagraph(org.wikimodel.wem.WikiParameters params)
beginParagraph
in interface org.wikimodel.wem.IWemListener
beginParagraph
in class org.wikimodel.wem.PrintListener
public void beginPropertyBlock(String propertyUri, boolean doc)
beginPropertyBlock
in interface org.wikimodel.wem.IWemListener
beginPropertyBlock
in class org.wikimodel.wem.PrintListener
public void beginPropertyInline(String str)
beginPropertyInline
in interface org.wikimodel.wem.IWemListener
beginPropertyInline
in class org.wikimodel.wem.PrintInlineListener
public void beginQuotation(org.wikimodel.wem.WikiParameters params)
beginQuotation
in interface org.wikimodel.wem.IWemListener
beginQuotation
in class org.wikimodel.wem.PrintListener
public void beginQuotationLine()
beginQuotationLine
in interface org.wikimodel.wem.IWemListener
beginQuotationLine
in class org.wikimodel.wem.PrintListener
public void beginTable(org.wikimodel.wem.WikiParameters params)
beginTable
in interface org.wikimodel.wem.IWemListener
beginTable
in class org.wikimodel.wem.PrintListener
public void beginTableCell(boolean tableHead, org.wikimodel.wem.WikiParameters params)
beginTableCell
in interface org.wikimodel.wem.IWemListener
beginTableCell
in class org.wikimodel.wem.PrintListener
public void beginTableRow(org.wikimodel.wem.WikiParameters params)
beginTableRow
in interface org.wikimodel.wem.IWemListener
beginTableRow
in class org.wikimodel.wem.PrintListener
public void endDefinitionDescription()
endDefinitionDescription
in interface org.wikimodel.wem.IWemListener
endDefinitionDescription
in class org.wikimodel.wem.PrintListener
public void endDefinitionList(org.wikimodel.wem.WikiParameters parameters)
endDefinitionList
in interface org.wikimodel.wem.IWemListener
endDefinitionList
in class org.wikimodel.wem.PrintListener
public void endDefinitionTerm()
endDefinitionTerm
in interface org.wikimodel.wem.IWemListener
endDefinitionTerm
in class org.wikimodel.wem.PrintListener
public void endDocument()
endDocument
in interface org.wikimodel.wem.IWemListener
endDocument
in class org.wikimodel.wem.PrintListener
public void endFormat(org.wikimodel.wem.WikiFormat format)
endFormat
in interface org.wikimodel.wem.IWemListener
endFormat
in class org.wikimodel.wem.PrintInlineListener
public void endHeader(int level, org.wikimodel.wem.WikiParameters params)
endHeader
in interface org.wikimodel.wem.IWemListener
endHeader
in class org.wikimodel.wem.PrintListener
public void endInfoBlock(char infoType, org.wikimodel.wem.WikiParameters params)
endInfoBlock
in interface org.wikimodel.wem.IWemListener
endInfoBlock
in class org.wikimodel.wem.PrintListener
public void endList(org.wikimodel.wem.WikiParameters parameters, boolean ordered)
endList
in interface org.wikimodel.wem.IWemListener
endList
in class org.wikimodel.wem.PrintListener
public void endListItem()
endListItem
in interface org.wikimodel.wem.IWemListener
endListItem
in class org.wikimodel.wem.PrintListener
public void endParagraph(org.wikimodel.wem.WikiParameters params)
endParagraph
in interface org.wikimodel.wem.IWemListener
endParagraph
in class org.wikimodel.wem.PrintListener
public void endPropertyBlock(String propertyUri, boolean doc)
endPropertyBlock
in interface org.wikimodel.wem.IWemListener
endPropertyBlock
in class org.wikimodel.wem.PrintListener
public void endPropertyInline(String inlineProperty)
endPropertyInline
in interface org.wikimodel.wem.IWemListener
endPropertyInline
in class org.wikimodel.wem.PrintInlineListener
public void endQuotation(org.wikimodel.wem.WikiParameters params)
endQuotation
in interface org.wikimodel.wem.IWemListener
endQuotation
in class org.wikimodel.wem.PrintListener
public void endQuotationLine()
endQuotationLine
in interface org.wikimodel.wem.IWemListener
endQuotationLine
in class org.wikimodel.wem.PrintListener
public void endTable(org.wikimodel.wem.WikiParameters params)
endTable
in interface org.wikimodel.wem.IWemListener
endTable
in class org.wikimodel.wem.PrintListener
public void endTableCell(boolean tableHead, org.wikimodel.wem.WikiParameters params)
endTableCell
in interface org.wikimodel.wem.IWemListener
endTableCell
in class org.wikimodel.wem.PrintListener
public void endTableRow(org.wikimodel.wem.WikiParameters params)
endTableRow
in interface org.wikimodel.wem.IWemListener
endTableRow
in class org.wikimodel.wem.PrintListener
public void onEmptyLines(int count)
onEmptyLines
in interface org.wikimodel.wem.IWemListener
onEmptyLines
in class org.wikimodel.wem.PrintListener
public void onHorizontalLine()
onHorizontalLine
in interface org.wikimodel.wem.IWemListener
onHorizontalLine
in class org.wikimodel.wem.PrintListener
public void onLineBreak()
onLineBreak
in interface org.wikimodel.wem.IWemListener
onLineBreak
in class org.wikimodel.wem.PrintInlineListener
public void onReference(String ref, boolean explicitLink)
onReference
in interface org.wikimodel.wem.IWemListener
onReference
in class org.wikimodel.wem.PrintTextListener
public void onTableCaption(String str)
onTableCaption
in interface org.wikimodel.wem.IWemListener
onTableCaption
in class org.wikimodel.wem.PrintListener
public void onVerbatimBlock(String str)
onVerbatimBlock
in interface org.wikimodel.wem.IWemListener
onVerbatimBlock
in class org.wikimodel.wem.PrintListener
public void onVerbatimInline(String str)
onVerbatimInline
in interface org.wikimodel.wem.IWemListener
onVerbatimInline
in class org.wikimodel.wem.PrintInlineListener
public void onMacroBlock(String macroName, org.wikimodel.wem.WikiParameters params, String content)
onMacroBlock
in interface org.wikimodel.wem.IWemListener
onMacroBlock
in class org.wikimodel.wem.PrintListener
public void onMacroInline(String macroName, org.wikimodel.wem.WikiParameters params, String content)
onMacroInline
in interface org.wikimodel.wem.IWemListener
onMacroInline
in class org.wikimodel.wem.PrintListener
public void onExtensionBlock(String extensionName, org.wikimodel.wem.WikiParameters params)
onExtensionBlock
in interface org.wikimodel.wem.IWemListener
onExtensionBlock
in class org.wikimodel.wem.PrintListener
public void onExtensionInline(String extensionName, org.wikimodel.wem.WikiParameters params)
onExtensionInline
in interface org.wikimodel.wem.IWemListener
onExtensionInline
in class org.wikimodel.wem.PrintInlineListener
public void onSpecialSymbol(String str)
onSpecialSymbol
in interface org.wikimodel.wem.IWemListener
onSpecialSymbol
in class org.wikimodel.wem.PrintInlineListener
public void onSpace(String str)
onSpace
in interface org.wikimodel.wem.IWemListener
onSpace
in class org.wikimodel.wem.PrintTextListener
public void onNewLine()
onNewLine
in interface org.wikimodel.wem.IWemListener
onNewLine
in class org.wikimodel.wem.PrintTextListener
public void onEscape(String str)
onEscape
in interface org.wikimodel.wem.IWemListener
onEscape
in class org.wikimodel.wem.PrintInlineListener
public void onWord(String word)
onWord
in interface org.wikimodel.wem.IWemListener
onWord
in class org.wikimodel.wem.PrintTextListener
Copyright © 2013 Nuxeo SA. All Rights Reserved.