Class WrappingWikiPrinter
- java.lang.Object
-
- org.xwiki.rendering.renderer.printer.WrappingWikiPrinter
-
- All Implemented Interfaces:
WikiPrinter
- Direct Known Subclasses:
LookaheadWikiPrinter
public class WrappingWikiPrinter extends Object implements WikiPrinter
Wraps a wiki printer.- Since:
- 1.7
- Version:
- $Id: e9b1a7cad49eb5c962f2abdce11c54bdcfc4b283 $
-
-
Constructor Summary
Constructors Constructor Description WrappingWikiPrinter(WikiPrinter printer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WikiPrintergetWrappedPrinter()voidprint(String text)voidprintln(String text)StringtoString()
-
-
-
Constructor Detail
-
WrappingWikiPrinter
public WrappingWikiPrinter(WikiPrinter printer)
-
-
Method Detail
-
print
public void print(String text)
- Specified by:
printin interfaceWikiPrinter- Parameters:
text- print the providedString.
-
println
public void println(String text)
- Specified by:
printlnin interfaceWikiPrinter- Parameters:
text- print the providedStringand add a new line.
-
getWrappedPrinter
public WikiPrinter getWrappedPrinter()
-
-