org.xwiki.rendering.internal.renderer.wikimodel
Class WikiModelPrinterAdapter

java.lang.Object
  extended by org.xwiki.rendering.internal.renderer.wikimodel.WikiModelPrinterAdapter
All Implemented Interfaces:
org.wikimodel.wem.IWikiPrinter

public class WikiModelPrinterAdapter
extends java.lang.Object
implements org.wikimodel.wem.IWikiPrinter

Bridge so that WikiModel listeners can be used and so that they output their results to a XWiki WikiPrinter instance.

Since:
1.5M1
Version:
$Id$

Constructor Summary
WikiModelPrinterAdapter(WikiPrinter printer)
           
 
Method Summary
 void print(java.lang.String text)
           
 void println(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiModelPrinterAdapter

public WikiModelPrinterAdapter(WikiPrinter printer)
Method Detail

print

public void print(java.lang.String text)
Specified by:
print in interface org.wikimodel.wem.IWikiPrinter

println

public void println(java.lang.String text)
Specified by:
println in interface org.wikimodel.wem.IWikiPrinter


Copyright © 2004-2011 XWiki. All Rights Reserved.