org.htmlcleaner
Class EndTagToken

java.lang.Object
  extended by org.htmlcleaner.TagToken
      extended by org.htmlcleaner.EndTagToken
All Implemented Interfaces:
java.lang.Cloneable, BaseToken
Direct Known Subclasses:
HTMLEndTag

public class EndTagToken
extends TagToken

HTML tag end token.

Created by: Vladimir Nikic
Date: November, 2006.


Constructor Summary
EndTagToken()
           
EndTagToken(java.lang.String name)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getParents()
          Get the allowed parent tags for this tag
 void serialize(XmlSerializer xmlSerializer)
           
 
Methods inherited from class org.htmlcleaner.TagToken
equals, getName, getOriginalSource, hashCode, isReduceTokenStack, setName, setOriginalSource, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndTagToken

public EndTagToken()

EndTagToken

public EndTagToken(java.lang.String name)
Method Detail

serialize

public void serialize(XmlSerializer xmlSerializer)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class TagToken
Throws:
java.lang.CloneNotSupportedException

getParents

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

Specified by:
getParents in class TagToken
Returns:
null if no parent tags are allowed