public class PlainTextConverter extends Object implements ITextConverter
| Constructor and Description |
|---|
PlainTextConverter() |
PlainTextConverter(boolean renderLinks) |
| Modifier and Type | Method and Description |
|---|---|
void |
imageNodeToText(TagNode imageTagNode,
ImageFormat imageFormat,
Appendable resultBuffer,
IWikiModel model)
Convert the imageTagNode into a given HTML string buffer
|
void |
nodesToText(List<?> nodes,
Appendable resultBuffer,
IWikiModel model)
Convert the list of TagTokens into a given HTML string buffer
|
boolean |
renderLinks() |
public PlainTextConverter(boolean renderLinks)
public PlainTextConverter()
public void nodesToText(List<?> nodes, Appendable resultBuffer, IWikiModel model) throws IOException
ITextConverternodesToText in interface ITextConverternodes - list of TagTokenresultBuffer - the rendered HTML stringmodel - the current wiki modelIOExceptionpublic boolean renderLinks()
renderLinks in interface ITextConverterpublic void imageNodeToText(TagNode imageTagNode, ImageFormat imageFormat, Appendable resultBuffer, IWikiModel model) throws IOException
ITextConverterimageNodeToText in interface ITextConverterimageTagNode - the tag which carries the imageFormat wiki object as an object
attributeresultBuffer - the rendered HTML stringmodel - the current wiki modelIOExceptionCopyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.