|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.bliki.wiki.filter.PlainTextConverter
public class PlainTextConverter
A converter which renders the internal tree node representation as plain text without HTML tags and images
Constructor Summary | |
---|---|
PlainTextConverter()
|
|
PlainTextConverter(boolean noLinks)
|
Method Summary | |
---|---|
void |
imageNodeToText(TagNode imageTagNode,
ImageFormat imageFormat,
java.lang.Appendable resultBuffer,
IWikiModel model)
Convert the imageTagNode into a given HTML string buffer |
void |
nodesToText(java.util.List<? extends java.lang.Object> nodes,
java.lang.Appendable resultBuffer,
IWikiModel model)
Convert the list of TagTokens into a given HTML string buffer |
boolean |
noLinks()
If this method returns true, then the <a> tag should only render the title of the link and not a link to another HTML document, but only the link text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlainTextConverter(boolean noLinks)
public PlainTextConverter()
Method Detail |
---|
public void nodesToText(java.util.List<? extends java.lang.Object> nodes, java.lang.Appendable resultBuffer, IWikiModel model) throws java.io.IOException
ITextConverter
nodesToText
in interface ITextConverter
nodes
- list of TagTokenresultBuffer
- the rendered HTML stringmodel
- the current wiki model
java.io.IOException
public boolean noLinks()
ITextConverter
noLinks
in interface ITextConverter
public void imageNodeToText(TagNode imageTagNode, ImageFormat imageFormat, java.lang.Appendable resultBuffer, IWikiModel model) throws java.io.IOException
ITextConverter
imageNodeToText
in interface ITextConverter
imageTagNode
- the tag which carries the imageFormat wiki object as an object
attributeresultBuffer
- the rendered HTML stringmodel
- the current wiki model
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |