info.bliki.wiki.tags
Class HTMLTag
java.lang.Object
info.bliki.htmlcleaner.TagToken
info.bliki.htmlcleaner.TagNode
info.bliki.wiki.tags.HTMLTag
- All Implemented Interfaces:
- BaseToken, java.lang.Cloneable
- Direct Known Subclasses:
- ATag, ChartTag, HTMLBlockTag, NowikiTag, ReferencesTag, RefTag, SourceTag, TableOfContentTag, WPATag, WPTag
public class HTMLTag
- extends TagNode
Constructor Summary |
HTMLTag(java.lang.String name)
|
Method Summary |
void |
appendAttributes(java.lang.Appendable buf,
java.util.Map<java.lang.String,java.lang.String> tagAtttributes)
|
static void |
appendEscapedAttributes(java.lang.Appendable buf,
java.util.Map<java.lang.String,java.lang.String> tagAtttributes)
|
static void |
appendUnescapedAttributes(java.lang.Appendable buf,
java.util.Map<java.lang.String,java.lang.String> tagAtttributes)
|
void |
renderHTML(ITextConverter converter,
java.lang.Appendable buf,
IWikiModel model)
|
void |
renderHTMLWithoutTag(ITextConverter converter,
java.lang.Appendable buf,
IWikiModel model)
|
void |
setTemplate(boolean isTemplate)
Set if the text is rendered as a template. |
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 |
NEW_LINES
public static final boolean NEW_LINES
- See Also:
- Constant Field Values
XML_QNAME
protected static final java.util.regex.Pattern XML_QNAME
HTMLTag
public HTMLTag(java.lang.String name)
appendEscapedAttributes
public static void appendEscapedAttributes(java.lang.Appendable buf,
java.util.Map<java.lang.String,java.lang.String> tagAtttributes)
throws java.io.IOException
- Throws:
java.io.IOException
appendUnescapedAttributes
public static void appendUnescapedAttributes(java.lang.Appendable buf,
java.util.Map<java.lang.String,java.lang.String> tagAtttributes)
throws java.io.IOException
- Throws:
java.io.IOException
appendAttributes
public void appendAttributes(java.lang.Appendable buf,
java.util.Map<java.lang.String,java.lang.String> tagAtttributes)
throws java.io.IOException
- Throws:
java.io.IOException
renderHTML
public void renderHTML(ITextConverter converter,
java.lang.Appendable buf,
IWikiModel model)
throws java.io.IOException
- Throws:
java.io.IOException
renderHTMLWithoutTag
public void renderHTMLWithoutTag(ITextConverter converter,
java.lang.Appendable buf,
IWikiModel model)
throws java.io.IOException
- Throws:
java.io.IOException
setTemplate
public void setTemplate(boolean isTemplate)
- Set if the text is rendered as a template. This method is a placeholder, it
can be overridden in subclasses.
- Parameters:
isTemplate
- true
, if the text is rendered as a template. See
WikipediaParser.isTemplate()
Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.