fr.opensagres.xdocreport.document.textstyling.wiki
Class WemListenerAdapter

java.lang.Object
  extended by org.wikimodel.wem.EmptyWemListener
      extended by fr.opensagres.xdocreport.document.textstyling.wiki.WemListenerAdapter
All Implemented Interfaces:
org.wikimodel.wem.IWemListener, org.wikimodel.wem.IWemListenerDocument, org.wikimodel.wem.IWemListenerInline, org.wikimodel.wem.IWemListenerList, org.wikimodel.wem.IWemListenerProgramming, org.wikimodel.wem.IWemListenerSemantic, org.wikimodel.wem.IWemListenerSimpleBlocks, org.wikimodel.wem.IWemListenerTable

public class WemListenerAdapter
extends org.wikimodel.wem.EmptyWemListener

Wiki Event Model Adaptor to call methods of IDocumentHandler.


Field Summary
protected  IDocumentHandler documentHandler
           
 
Constructor Summary
WemListenerAdapter(IDocumentHandler visitor)
           
 
Method Summary
 void beginDocument()
           
 void beginFormat(org.wikimodel.wem.WikiFormat format)
           
 void beginList(org.wikimodel.wem.WikiParameters params, boolean ordered)
           
 void beginListItem()
           
 void beginParagraph(org.wikimodel.wem.WikiParameters params)
           
 void endDocument()
           
 void endFormat(org.wikimodel.wem.WikiFormat format)
           
 void endList(org.wikimodel.wem.WikiParameters params, boolean ordered)
           
 void endListItem()
           
 void endParagraph(org.wikimodel.wem.WikiParameters params)
           
 void onReference(String ref)
           
 void onReference(org.wikimodel.wem.WikiReference ref)
           
 void onSpace(String str)
           
 void onWord(String str)
           
 
Methods inherited from class org.wikimodel.wem.EmptyWemListener
beginDefinitionDescription, beginDefinitionList, beginDefinitionTerm, beginDocument, beginHeader, beginInfoBlock, beginPropertyBlock, beginPropertyInline, beginQuotation, beginQuotationLine, beginSection, beginSectionContent, beginTable, beginTableCell, beginTableRow, endDefinitionDescription, endDefinitionList, endDefinitionTerm, endDocument, endHeader, endInfoBlock, endPropertyBlock, endPropertyInline, endQuotation, endQuotationLine, endSection, endSectionContent, endTable, endTableCell, endTableRow, onEmptyLines, onEscape, onExtensionBlock, onExtensionInline, onHorizontalLine, onImage, onImage, onLineBreak, onMacroBlock, onMacroInline, onNewLine, onSpecialSymbol, onTableCaption, onVerbatimBlock, onVerbatimInline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentHandler

protected final IDocumentHandler documentHandler
Constructor Detail

WemListenerAdapter

public WemListenerAdapter(IDocumentHandler visitor)
Method Detail

beginDocument

public void beginDocument()
Overrides:
beginDocument in class org.wikimodel.wem.EmptyWemListener

endDocument

public void endDocument()
Overrides:
endDocument in class org.wikimodel.wem.EmptyWemListener

beginFormat

public void beginFormat(org.wikimodel.wem.WikiFormat format)
Specified by:
beginFormat in interface org.wikimodel.wem.IWemListenerInline
Overrides:
beginFormat in class org.wikimodel.wem.EmptyWemListener

endFormat

public void endFormat(org.wikimodel.wem.WikiFormat format)
Specified by:
endFormat in interface org.wikimodel.wem.IWemListenerInline
Overrides:
endFormat in class org.wikimodel.wem.EmptyWemListener

beginList

public void beginList(org.wikimodel.wem.WikiParameters params,
                      boolean ordered)
Specified by:
beginList in interface org.wikimodel.wem.IWemListenerList
Overrides:
beginList in class org.wikimodel.wem.EmptyWemListener

beginListItem

public void beginListItem()
Specified by:
beginListItem in interface org.wikimodel.wem.IWemListenerList
Overrides:
beginListItem in class org.wikimodel.wem.EmptyWemListener

endListItem

public void endListItem()
Specified by:
endListItem in interface org.wikimodel.wem.IWemListenerList
Overrides:
endListItem in class org.wikimodel.wem.EmptyWemListener

endList

public void endList(org.wikimodel.wem.WikiParameters params,
                    boolean ordered)
Specified by:
endList in interface org.wikimodel.wem.IWemListenerList
Overrides:
endList in class org.wikimodel.wem.EmptyWemListener

onSpace

public void onSpace(String str)
Specified by:
onSpace in interface org.wikimodel.wem.IWemListenerInline
Overrides:
onSpace in class org.wikimodel.wem.EmptyWemListener

onWord

public void onWord(String str)
Specified by:
onWord in interface org.wikimodel.wem.IWemListenerInline
Overrides:
onWord in class org.wikimodel.wem.EmptyWemListener

beginParagraph

public void beginParagraph(org.wikimodel.wem.WikiParameters params)
Specified by:
beginParagraph in interface org.wikimodel.wem.IWemListenerSimpleBlocks
Overrides:
beginParagraph in class org.wikimodel.wem.EmptyWemListener

endParagraph

public void endParagraph(org.wikimodel.wem.WikiParameters params)
Specified by:
endParagraph in interface org.wikimodel.wem.IWemListenerSimpleBlocks
Overrides:
endParagraph in class org.wikimodel.wem.EmptyWemListener

onReference

public void onReference(String ref)
Specified by:
onReference in interface org.wikimodel.wem.IWemListenerInline
Overrides:
onReference in class org.wikimodel.wem.EmptyWemListener

onReference

public void onReference(org.wikimodel.wem.WikiReference ref)
Specified by:
onReference in interface org.wikimodel.wem.IWemListenerInline
Overrides:
onReference in class org.wikimodel.wem.EmptyWemListener


Copyright © 2013. All rights reserved.