org.apache.batik.css.engine.sac

Class CSSDirectAdjacentSelector

public class CSSDirectAdjacentSelector extends AbstractSiblingSelector

This class provides an implementation for the {@link org.w3c.css.sac.DescendantSelector} interface.
Constructor Summary
CSSDirectAdjacentSelector(short type, Selector parent, SimpleSelector simple)
Creates a new CSSDirectAdjacentSelector 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

CSSDirectAdjacentSelector

public CSSDirectAdjacentSelector(short type, Selector parent, SimpleSelector simple)
Creates a new CSSDirectAdjacentSelector 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.