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

java.lang.Object
  extended by fr.opensagres.xdocreport.document.textstyling.AbstractTextStylingTransformer
      extended by fr.opensagres.xdocreport.document.textstyling.wiki.AbstractWikiTextStylingTransformer
All Implemented Interfaces:
ITextStylingTransformer
Direct Known Subclasses:
GWikiTextStylingTransformer, MediaWikiTextStylingTransformer

public abstract class AbstractWikiTextStylingTransformer
extends AbstractTextStylingTransformer

Abstract class styling transformer for Wiki Syntax.


Constructor Summary
AbstractWikiTextStylingTransformer()
           
 
Method Summary
protected abstract  org.wikimodel.wem.IWikiParser createWikiParser()
          Create an instance of IWikiParser.
protected  void doTransform(String content, IDocumentHandler handler)
          Transform the given content (with some syntax like HTML, Mediawiki, etc) to another syntax (docx, odt, etc).
 
Methods inherited from class fr.opensagres.xdocreport.document.textstyling.AbstractTextStylingTransformer
transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWikiTextStylingTransformer

public AbstractWikiTextStylingTransformer()
Method Detail

doTransform

protected void doTransform(String content,
                           IDocumentHandler handler)
                    throws Exception
Description copied from class: AbstractTextStylingTransformer
Transform the given content (with some syntax like HTML, Mediawiki, etc) to another syntax (docx, odt, etc). The given visitor can be used to process the transformation.

Specified by:
doTransform in class AbstractTextStylingTransformer
Parameters:
content - the content to transform.
handler - the document handler used for the transformation.
Throws:
Exception

createWikiParser

protected abstract org.wikimodel.wem.IWikiParser createWikiParser()
Create an instance of IWikiParser.

Returns:


Copyright © 2013. All rights reserved.