org.apache.batik.css.engine.sac
Interface ExtendedCondition

All Known Implementing Classes:
AbstractAttributeCondition, AbstractCombinatorCondition, CSSAndCondition, CSSAttributeCondition, CSSBeginHyphenAttributeCondition, CSSClassCondition, CSSIdCondition, CSSLangCondition, CSSOneOfAttributeCondition, CSSPseudoClassCondition

public interface ExtendedCondition

This interface provides additional features to the org.w3c.css.sac.Condition interface.


Method Summary
 void fillAttributeSet(Set attrSet)
          Fills the given set with the attribute names found in this selector.
 int getSpecificity()
          Returns the specificity of this condition.
 boolean match(Element e, String pseudoE)
          Tests whether this condition matches the given element.
 

Method Detail

match

boolean match(Element e,
              String pseudoE)
Tests whether this condition matches the given element.


getSpecificity

int getSpecificity()
Returns the specificity of this condition.


fillAttributeSet

void fillAttributeSet(Set attrSet)
Fills the given set with the attribute names found in this selector.



Copyright ? 2008 Apache Software Foundation. All Rights Reserved.