info.bliki.wiki.tags
Class NowikiTag
java.lang.Object
org.htmlcleaner.TagToken
org.htmlcleaner.TagNode
info.bliki.wiki.tags.HTMLTag
info.bliki.wiki.tags.NowikiTag
- All Implemented Interfaces:
- IBodyTag, INoBodyParsingTag, java.lang.Cloneable, BaseToken
- Direct Known Subclasses:
- MathTag
public class NowikiTag
- extends HTMLTag
- implements INoBodyParsingTag
Wiki tag for escaping the wiki syntax.
|
Method Summary |
static void |
copyMathLTGT(java.lang.String text,
java.lang.Appendable writer)
Copy the text in the resulting buffer and escape special html characters
(< > ) |
static void |
copyNowikiNewLine(java.lang.String text,
java.lang.StringBuffer writer)
Copy the text in the resulting buffer and escape special html characters
(< > " & ') Additionally every newline will be replaced
by <br/> |
static void |
copyPre(java.lang.String text,
java.lang.Appendable writer,
boolean replaceAmpersand)
Copy the text in the resulting buffer and escape special html characters
(< > " & ') |
boolean |
isReduceTokenStack()
|
void |
renderHTML(ITextConverter converter,
java.lang.Appendable buf,
IWikiModel model)
|
void |
renderLaTeX(ITextConverter converter,
java.lang.Appendable _out,
IWikiModel model)
|
| Methods inherited from class org.htmlcleaner.TagNode |
addAttribute, addChild, addChildren, addItemForMoving, addObjectAttribute, clone, getAttributes, getChildren, getItemsToMove, getObjectAttributes, getParent, getParents, isFormed, makeCopy, serialize, setFormed, setItemsToMove, setParent |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NowikiTag
public NowikiTag()
copyNowikiNewLine
public static void copyNowikiNewLine(java.lang.String text,
java.lang.StringBuffer writer)
- Copy the text in the resulting buffer and escape special html characters
(< > " & ') Additionally every newline will be replaced
by <br/>
copyPre
public static void copyPre(java.lang.String text,
java.lang.Appendable writer,
boolean replaceAmpersand)
throws java.io.IOException
- Copy the text in the resulting buffer and escape special html characters
(< > " & ')
- Parameters:
replaceAmpersand - replace the ampersand character with the HTML number entity
- Throws:
java.io.IOException
copyMathLTGT
public static void copyMathLTGT(java.lang.String text,
java.lang.Appendable writer)
throws java.io.IOException
- Copy the text in the resulting buffer and escape special html characters
(< > )
- Throws:
java.io.IOException
renderHTML
public void renderHTML(ITextConverter converter,
java.lang.Appendable buf,
IWikiModel model)
throws java.io.IOException
- Overrides:
renderHTML in class HTMLTag
- Throws:
java.io.IOException
renderLaTeX
public void renderLaTeX(ITextConverter converter,
java.lang.Appendable _out,
IWikiModel model)
throws java.io.IOException
- Overrides:
renderLaTeX in class HTMLTag
- Throws:
java.io.IOException
isReduceTokenStack
public boolean isReduceTokenStack()
- Overrides:
isReduceTokenStack in class TagToken