info.bliki.wiki.tags.extension
Class ChartTag

java.lang.Object
  extended by info.bliki.htmlcleaner.TagToken
      extended by info.bliki.htmlcleaner.TagNode
          extended by info.bliki.wiki.tags.HTMLTag
              extended by info.bliki.wiki.tags.extension.ChartTag
All Implemented Interfaces:
BaseToken, IBodyTag, INoBodyParsingTag, java.lang.Cloneable

public class ChartTag
extends HTMLTag
implements INoBodyParsingTag

Wiki tag for the Google Chart API


Field Summary
static java.lang.String[] ALLOWED_ATTRIBUTES
          See chart parameters supported by the Google Chart API.
static java.util.HashSet<java.lang.String> ALLOWED_ATTRIBUTES_SET
           
 
Fields inherited from class info.bliki.wiki.tags.HTMLTag
NEW_LINES, XML_QNAME
 
Fields inherited from class info.bliki.htmlcleaner.TagToken
name, originalSource
 
Constructor Summary
ChartTag()
           
 
Method Summary
 boolean isAllowedAttribute(java.lang.String attName)
          Check, if the attName is allowed.
 void renderHTML(ITextConverter converter, java.lang.Appendable buf, IWikiModel model)
           
 
Methods inherited from class info.bliki.wiki.tags.HTMLTag
appendAttributes, appendEscapedAttributes, appendUnescapedAttributes, renderHTMLWithoutTag, setTemplate
 
Methods inherited from class info.bliki.htmlcleaner.TagNode
addAllowedAttribute, addAttribute, addChild, addChildren, addItemForMoving, addObjectAttribute, clone, getAllowedAttributes, getAttributes, getBodyString, getBodyString, getChildren, getItemsToMove, getObjectAttributes, getParent, getParents, isFormed, makeCopy, removeAllowedAttribute, serialize, setFormed, setItemsToMove, setParent
 
Methods inherited from class info.bliki.htmlcleaner.TagToken
equals, getName, getOriginalSource, hashCode, isReduceTokenStack, setName, setOriginalSource, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALLOWED_ATTRIBUTES_SET

public static final java.util.HashSet<java.lang.String> ALLOWED_ATTRIBUTES_SET

ALLOWED_ATTRIBUTES

public static final java.lang.String[] ALLOWED_ATTRIBUTES
See chart parameters supported by the Google Chart API.

Constructor Detail

ChartTag

public ChartTag()
Method Detail

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

isAllowedAttribute

public boolean isAllowedAttribute(java.lang.String attName)
Description copied from class: TagToken
Check, if the attName is allowed.

Overrides:
isAllowedAttribute in class TagNode
Returns:


Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.