org.xwiki.rendering.wikimodel
Class WikiPrinter

java.lang.Object
  extended by org.xwiki.rendering.wikimodel.WikiPrinter
All Implemented Interfaces:
IWikiPrinter

public class WikiPrinter
extends Object
implements IWikiPrinter

Since:
4.0M1
Version:
$Id: 7b8a0b5104d5235a74489de959105c5bd9d0118e $

Constructor Summary
WikiPrinter()
           
WikiPrinter(StringBuffer buffer)
           
 
Method Summary
 StringBuffer getBuffer()
           
protected  String getEol()
           
 void print(String str)
           
 void println(String str)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WikiPrinter

public WikiPrinter()

WikiPrinter

public WikiPrinter(StringBuffer buffer)
Parameters:
buffer -
Method Detail

getBuffer

public StringBuffer getBuffer()

getEol

protected String getEol()
Returns:
a new line symbols

print

public void print(String str)
Specified by:
print in interface IWikiPrinter
See Also:
IWikiPrinter.print(java.lang.String)

println

public void println(String str)
Specified by:
println in interface IWikiPrinter
See Also:
IWikiPrinter.println(java.lang.String)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2004-2012 XWiki. All Rights Reserved.