Class CSSDescendantSelector

java.lang.Object
org.apache.batik.css.engine.sac.AbstractDescendantSelector
org.apache.batik.css.engine.sac.CSSDescendantSelector
All Implemented Interfaces:
ExtendedSelector, org.w3c.css.sac.DescendantSelector, org.w3c.css.sac.Selector

public class CSSDescendantSelector extends AbstractDescendantSelector
This class provides an implementation for the DescendantSelector interface.
Version:
$Id$
  • Constructor Details

    • CSSDescendantSelector

      public CSSDescendantSelector(org.w3c.css.sac.Selector ancestor, org.w3c.css.sac.SimpleSelector simple)
      Creates a new CSSDescendantSelector object.
  • Method Details

    • getSelectorType

      public short getSelectorType()
      SAC: Implements Selector.getSelectorType().
    • match

      public boolean match(Element e, String pseudoE)
      Tests whether this selector matches the given element.
    • fillAttributeSet

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

      public String toString()
      Returns a representation of the selector.
      Overrides:
      toString in class Object