org.apache.batik.css.sac
Interface ExtendedCondition
- All Superinterfaces:
- Condition
- All Known Implementing Classes:
- AbstractAttributeCondition, AbstractCombinatorCondition, CSSOMLangCondition
- public interface ExtendedCondition
- extends Condition
This interface provides additional features to the
Condition
interface.
Fields inherited from interface org.w3c.css.sac.Condition |
SAC_AND_CONDITION, SAC_ATTRIBUTE_CONDITION, SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION, SAC_CLASS_CONDITION, SAC_CONTENT_CONDITION, SAC_ID_CONDITION, SAC_LANG_CONDITION, SAC_NEGATIVE_CONDITION, SAC_ONE_OF_ATTRIBUTE_CONDITION, SAC_ONLY_CHILD_CONDITION, SAC_ONLY_TYPE_CONDITION, SAC_OR_CONDITION, SAC_POSITIONAL_CONDITION, SAC_PSEUDO_CLASS_CONDITION |
Method Summary |
int |
getSpecificity()
Returns the specificity of this condition. |
boolean |
match(Element e,
java.lang.String pseudoE)
Tests whether this condition matches the given element. |
match
public boolean match(Element e,
java.lang.String pseudoE)
- Tests whether this condition matches the given element.
getSpecificity
public int getSpecificity()
- Returns the specificity of this condition.
Copyright © 2001 Apache Software Foundation. All Rights Reserved.