org.apache.batik.css.engine.sac

Class CSSDescendantSelector

public class CSSDescendantSelector extends AbstractDescendantSelector

This class provides an implementation for the {@link org.w3c.css.sac.DescendantSelector} interface.
Constructor Summary
CSSDescendantSelector(Selector ancestor, SimpleSelector simple)
Creates a new CSSDescendantSelector object.
Method Summary
voidfillAttributeSet(Set attrSet)
Fills the given set with the attribute names found in this selector.
shortgetSelectorType()
SAC: Implements {@link org.w3c.css.sac.Selector#getSelectorType()}.
booleanmatch(Element e, String pseudoE)
Tests whether this selector matches the given element.
StringtoString()
Returns a representation of the selector.

Constructor Detail

CSSDescendantSelector

public CSSDescendantSelector(Selector ancestor, SimpleSelector simple)
Creates a new CSSDescendantSelector object.

Method Detail

fillAttributeSet

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

getSelectorType

public short getSelectorType()
SAC: Implements {@link org.w3c.css.sac.Selector#getSelectorType()}.

match

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

toString

public String toString()
Returns a representation of the selector.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.