org.htmlcleaner.conditional
Class TagNodeAutoGeneratedCondition

java.lang.Object
  extended by org.htmlcleaner.conditional.TagNodeAutoGeneratedCondition
All Implemented Interfaces:
ITagNodeCondition

public class TagNodeAutoGeneratedCondition
extends Object
implements ITagNodeCondition

Remove empty autogenerated nodes. These nodes are created when an unclosed tag is immediately closed.

Author:
patmoore

Field Summary
static TagNodeAutoGeneratedCondition INSTANCE
           
 
Constructor Summary
TagNodeAutoGeneratedCondition()
           
 
Method Summary
 boolean satisfy(TagNode tagNode)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final TagNodeAutoGeneratedCondition INSTANCE
Constructor Detail

TagNodeAutoGeneratedCondition

public TagNodeAutoGeneratedCondition()
Method Detail

satisfy

public boolean satisfy(TagNode tagNode)
Specified by:
satisfy in interface ITagNodeCondition
See Also:
ITagNodeCondition.satisfy(org.htmlcleaner.TagNode)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2014. All Rights Reserved.