public class WikiWriter extends Object implements org.wikimodel.wem.IWikiPrinter, WikiText
Modifier and Type | Field and Description |
---|---|
protected StringBuilder |
buf |
protected List<WikiText> |
dynamicSegments |
protected static String |
LINE_SEP |
protected static org.apache.commons.logging.Log |
log |
protected WikiWriter |
parent |
protected List<String> |
segments |
Constructor and Description |
---|
WikiWriter() |
WikiWriter(WikiWriter parent) |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
getBuffer() |
WikiWriter |
getParent() |
void |
print(String str) |
void |
println() |
void |
println(String str) |
void |
writeText(WikiText text) |
void |
writeTo(WikiSerializerHandler handler,
Writer writer) |
protected static final org.apache.commons.logging.Log log
protected WikiWriter parent
protected final List<WikiText> dynamicSegments
protected final StringBuilder buf
public WikiWriter()
public WikiWriter(WikiWriter parent)
public void println()
public void println(String str)
println
in interface org.wikimodel.wem.IWikiPrinter
public WikiWriter getParent()
public StringBuilder getBuffer()
public void writeTo(WikiSerializerHandler handler, Writer writer) throws IOException
writeTo
in interface WikiText
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.