org.htmlcleaner.conditional
Class TagNodeAttNameValueRegexCondition

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

public class TagNodeAttNameValueRegexCondition
extends Object
implements ITagNodeCondition

Checks if node has specified attribute with specified value.


Constructor Summary
TagNodeAttNameValueRegexCondition(Pattern attNameRegex, Pattern attValueRegex)
           
 
Method Summary
 boolean satisfy(TagNode tagNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagNodeAttNameValueRegexCondition

public TagNodeAttNameValueRegexCondition(Pattern attNameRegex,
                                         Pattern attValueRegex)
Method Detail

satisfy

public boolean satisfy(TagNode tagNode)
Specified by:
satisfy in interface ITagNodeCondition


Copyright © 2006-2014. All Rights Reserved.