info.bliki.wiki.tags
Class HTMLBlockTag

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.HTMLBlockTag
All Implemented Interfaces:
BaseToken, java.lang.Cloneable
Direct Known Subclasses:
DdTag, DlTag, DtTag, PreTag, PTag, WPPreTag

public class HTMLBlockTag
extends HTMLTag

A wiki tag that's partitioning the HTML document


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
HTMLBlockTag(java.lang.String name, java.lang.String allowedParents)
           
 
Method Summary
 java.lang.String getCloseTag()
           
 java.lang.String getParents()
          Get the allowed parent tags for this tag
 boolean isReduceTokenStack()
           
 
Methods inherited from class info.bliki.wiki.tags.HTMLTag
appendAttributes, appendEscapedAttributes, appendUnescapedAttributes, renderHTML, 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, 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

HTMLBlockTag

public HTMLBlockTag(java.lang.String name,
                    java.lang.String allowedParents)
Method Detail

getParents

public java.lang.String getParents()
Description copied from class: TagToken
Get the allowed parent tags for this tag

Overrides:
getParents in class TagNode
Returns:
null if no parent tags are allowed

isReduceTokenStack

public boolean isReduceTokenStack()
Overrides:
isReduceTokenStack in class TagToken

getCloseTag

public java.lang.String getCloseTag()


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