info.bliki.wiki.tags
Class NowikiTag
java.lang.Object
info.bliki.htmlcleaner.TagToken
info.bliki.htmlcleaner.TagNode
info.bliki.wiki.tags.HTMLTag
info.bliki.wiki.tags.NowikiTag
- All Implemented Interfaces:
- BaseToken, IBodyTag, INoBodyParsingTag, java.lang.Cloneable
- 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.Appendable 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)
|
Methods inherited from class info.bliki.htmlcleaner.TagNode |
addAllowedAttribute, addAttribute, addChild, addChildren, addItemForMoving, addObjectAttribute, clone, getAllowedAttributes, getAttributes, getBodyString, getBodyString, getChildren, getItemsToMove, getObjectAttributes, getParent, getParents, isAllowedAttribute, isFormed, makeCopy, removeAllowedAttribute, serialize, setFormed, setItemsToMove, setParent |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NowikiTag
protected NowikiTag(java.lang.String name)
NowikiTag
public NowikiTag()
copyNowikiNewLine
public static void copyNowikiNewLine(java.lang.String text,
java.lang.Appendable writer)
throws java.io.IOException
- Copy the text in the resulting buffer and escape special html characters
(< > " & ') Additionally every newline will be replaced
by <br/>
- Throws:
java.io.IOException
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
isReduceTokenStack
public boolean isReduceTokenStack()
- Overrides:
isReduceTokenStack
in class TagToken
Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.