Package org.htmlcleaner
Class AttributeTransformationPatternImpl
- java.lang.Object
-
- org.htmlcleaner.AttributeTransformationPatternImpl
-
- All Implemented Interfaces:
AttributeTransformation
public class AttributeTransformationPatternImpl extends Object implements AttributeTransformation
-
-
Constructor Summary
Constructors Constructor Description AttributeTransformationPatternImpl(String attNamePattern, String attValuePattern, String template)
AttributeTransformationPatternImpl(Pattern attNamePattern, Pattern attValuePattern, String template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTemplate()
boolean
satisfy(String attName, String attValue)
-
-
-
Method Detail
-
satisfy
public boolean satisfy(String attName, String attValue)
- Specified by:
satisfy
in interfaceAttributeTransformation
-
getTemplate
public String getTemplate()
- Specified by:
getTemplate
in interfaceAttributeTransformation
- Returns:
- the template
-
-