Interface ExtendedCondition

All Superinterfaces:
org.w3c.css.sac.Condition
All Known Implementing Classes:
AbstractAttributeCondition, AbstractCombinatorCondition, CSSAndConditionImpl, CSSAttributeConditionImpl, CSSBeginHyphenAttributeConditionImpl, CSSClassConditionImpl, CSSIdConditionImpl, CSSLangConditionImpl, CSSOneOfAttributeConditionImpl, CSSPseudoClassConditionImpl

public interface ExtendedCondition extends org.w3c.css.sac.Condition
This interface provides additional features to the Condition interface.
  • Field Summary

    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

    Modifier and Type
    Method
    Description
    void
    Fills the given set with the attribute names found in this selector.
    int
    Returns the specificity of this condition.
    boolean
    match(Element e, String pseudoE)
    Tests whether this condition matches the given element.

    Methods inherited from interface org.w3c.css.sac.Condition

    getConditionType
  • Method Details

    • 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<String> attrSet)
      Fills the given set with the attribute names found in this selector.