|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.bliki.wiki.filter.HTMLConverter
public class HTMLConverter
A converter which renders the internal tree node representation as HTML text
Constructor Summary | |
---|---|
HTMLConverter()
|
|
HTMLConverter(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 |
protected void |
nodeToHTML(TagNode node,
java.lang.Appendable resultBuffer,
IWikiModel model)
|
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 HTMLConverter(boolean noLinks)
public HTMLConverter()
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
protected void nodeToHTML(TagNode node, java.lang.Appendable resultBuffer, IWikiModel model) throws java.io.IOException
java.io.IOException
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
public boolean noLinks()
ITextConverter
noLinks
in interface ITextConverter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |