|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.renderer.printer.DefaultWikiPrinter
public class DefaultWikiPrinter
Printer using a StringBuffer as the underlying output target.
| Constructor Summary | |
|---|---|
DefaultWikiPrinter()
The default constructor. |
|
DefaultWikiPrinter(java.lang.StringBuffer buffer)
|
|
| Method Summary | |
|---|---|
void |
clear()
Removes the buffer's content which allows the printer to be reused. |
java.lang.StringBuffer |
getBuffer()
|
protected java.lang.String |
getEOL()
This method is protected to allow classes extending this one to override what a new line is. |
void |
print(java.lang.String text)
|
void |
println(java.lang.String text)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultWikiPrinter()
StringBuffer.
public DefaultWikiPrinter(java.lang.StringBuffer buffer)
buffer - the StringBuffer to where to put the provided Strings.| Method Detail |
|---|
public java.lang.StringBuffer getBuffer()
Strings.protected java.lang.String getEOL()
public void print(java.lang.String text)
print in interface WikiPrintertext - print the provided String.WikiPrinter.print(String)public void println(java.lang.String text)
println in interface WikiPrintertext - print the provided String and add a new line.WikiPrinter.println(String)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||