|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.transformation.EncodeURLTransformer.ElementAttributeMatching
A helper class for matching element names, and attribute names.
For given include-name, exclude-name decide if element-attribute pair matches. This class defines the precedence and matching algorithm.
| Field Summary | |
protected Pattern |
excludeNameRE
Regular expression of excluding patterns |
protected Pattern |
includeNameRE
Regular expression of including patterns |
| Constructor Summary | |
EncodeURLTransformer.ElementAttributeMatching(String includeName,
String excludeName)
Constructor for the ElementAttributeMatching object |
|
| Method Summary | |
boolean |
matchesElementAttribute(String element_name,
String attr_name,
String value)
Return true iff element_name attr_name pair is not matched by exclude-name, but is matched by include-name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Pattern includeNameRE
protected Pattern excludeNameRE
| Constructor Detail |
public EncodeURLTransformer.ElementAttributeMatching(String includeName,
String excludeName)
throws PatternSyntaxException
includeName - Description of ParameterexcludeName - Description of Parameter
PatternSyntaxException - Description of Exception| Method Detail |
public boolean matchesElementAttribute(String element_name,
String attr_name,
String value)
element_name - attr_name - value - TODO
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||