Package org.xwiki.rendering.wikimodel
Class WikiPrinter
- java.lang.Object
-
- org.xwiki.rendering.wikimodel.WikiPrinter
-
- All Implemented Interfaces:
IWikiPrinter
public class WikiPrinter extends Object implements IWikiPrinter
- Since:
- 4.0M1
- Version:
- $Id: 7b8a0b5104d5235a74489de959105c5bd9d0118e $
-
-
Constructor Summary
Constructors Constructor Description WikiPrinter()
WikiPrinter(StringBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuffer
getBuffer()
protected String
getEol()
void
print(String str)
void
println(String str)
String
toString()
-
-
-
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 interfaceIWikiPrinter
- See Also:
IWikiPrinter.print(java.lang.String)
-
println
public void println(String str)
- Specified by:
println
in interfaceIWikiPrinter
- See Also:
IWikiPrinter.println(java.lang.String)
-
toString
public String toString()
- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
-