public class HTMLTag extends TagNode
| Modifier and Type | Field and Description |
|---|---|
static boolean |
NEW_LINES |
protected static Pattern |
XML_QNAME |
ALLOWED_ATTRIBUTES, ALLOWED_ATTRIBUTES_SETname, originalSource| Modifier and Type | Method and Description |
|---|---|
void |
appendAttributes(Appendable buf,
Map<String,String> tagAtttributes) |
static void |
appendEscapedAttributes(Appendable buf,
Map<String,String> tagAtttributes) |
HTMLTag |
getDefaultParentTag()
Use this tag if no parent tag was found on the wiki model's tag stack.
|
void |
renderHTML(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
renderHTMLWithoutTag(ITextConverter converter,
Appendable buf,
IWikiModel model) |
void |
setTemplate(boolean isTemplate)
Set if the text is rendered as a template.
|
addAllowedAttribute, addAttribute, addChild, addChildren, addItemForMoving, addObjectAttribute, clone, getAllowedAttributes, getAttributes, getBodyString, getChildren, getItemsToMove, getObjectAttributes, getParent, getParents, isAllowedAttribute, isFormed, makeCopy, renderPlainText, serialize, setFormed, setItemsToMove, setParentequals, getName, getOriginalSource, hashCode, isReduceTokenStack, setName, setOriginalSource, toStringpublic static final boolean NEW_LINES
protected static final Pattern XML_QNAME
public HTMLTag(String name)
public static void appendEscapedAttributes(Appendable buf, Map<String,String> tagAtttributes) throws IOException
IOExceptionpublic void appendAttributes(Appendable buf, Map<String,String> tagAtttributes) throws IOException
IOExceptionpublic void renderHTML(ITextConverter converter, Appendable buf, IWikiModel model) throws IOException
IOExceptionpublic void renderHTMLWithoutTag(ITextConverter converter, Appendable buf, IWikiModel model) throws IOException
IOExceptionpublic void setTemplate(boolean isTemplate)
isTemplate - true, if the text is rendered as a template. See
WikipediaParser.isTemplate()public HTMLTag getDefaultParentTag()
null, if there's no default
parent tagCopyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.