org.htmlcleaner
Class AttributeTransformationPatternImpl

java.lang.Object
  extended by org.htmlcleaner.AttributeTransformationPatternImpl
All Implemented Interfaces:
AttributeTransformation

public class AttributeTransformationPatternImpl
extends Object
implements AttributeTransformation


Constructor Summary
AttributeTransformationPatternImpl(Pattern attNamePattern, Pattern attValuePattern, String template)
           
AttributeTransformationPatternImpl(String attNamePattern, String attValuePattern, String template)
           
 
Method Summary
 String getTemplate()
           
 boolean satisfy(String attName, String attValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeTransformationPatternImpl

public AttributeTransformationPatternImpl(Pattern attNamePattern,
                                          Pattern attValuePattern,
                                          String template)

AttributeTransformationPatternImpl

public AttributeTransformationPatternImpl(String attNamePattern,
                                          String attValuePattern,
                                          String template)
Method Detail

satisfy

public boolean satisfy(String attName,
                       String attValue)
Specified by:
satisfy in interface AttributeTransformation

getTemplate

public String getTemplate()
Specified by:
getTemplate in interface AttributeTransformation
Returns:
the template


Copyright © 2006-2014. All Rights Reserved.