info.bliki.wiki.tags
Class ATag

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.ATag
All Implemented Interfaces:
BaseToken, java.lang.Cloneable

public class ATag
extends HTMLTag


Field Summary
 
Fields inherited from class info.bliki.wiki.tags.HTMLTag
NEW_LINES, XML_QNAME
 
Fields inherited from class info.bliki.htmlcleaner.TagNode
ALLOWED_ATTRIBUTES, ALLOWED_ATTRIBUTES_SET
 
Fields inherited from class info.bliki.htmlcleaner.TagToken
name, originalSource
 
Constructor Summary
ATag()
           
 
Method Summary
 boolean addAttribute(java.lang.String attName, java.lang.String attValue, boolean checkXSS)
          Add an attribute to this tag.
 java.lang.String getCloseTag()
           
 boolean isReduceTokenStack()
           
 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, 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 info.bliki.htmlcleaner.TagToken
equals, getName, getOriginalSource, hashCode, setName, setOriginalSource, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ATag

public ATag()
Method Detail

isReduceTokenStack

public boolean isReduceTokenStack()
Overrides:
isReduceTokenStack in class TagToken

getCloseTag

public java.lang.String getCloseTag()

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

addAttribute

public boolean addAttribute(java.lang.String attName,
                            java.lang.String attValue,
                            boolean checkXSS)
Description copied from class: TagToken
Add an attribute to this tag.

Overrides:
addAttribute in class TagNode
Parameters:
attName - the attribute name
attValue - the attribute's value string
checkXSS - check the attributes for allowed names to avoid cross side scripting
Returns:


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