org.apache.batik.css.engine.sac

Class CSSAndCondition

public class CSSAndCondition extends AbstractCombinatorCondition

This class provides an implementation of the {@link org.w3c.css.sac.CombinatorCondition} interface.
Constructor Summary
CSSAndCondition(Condition c1, Condition c2)
Creates a new CombinatorCondition object.
Method Summary
voidfillAttributeSet(Set attrSet)
Fills the given set with the attribute names found in this selector.
shortgetConditionType()
SAC: Implements {@link org.w3c.css.sac.Condition#getConditionType()}.
booleanmatch(Element e, String pseudoE)
Tests whether this condition matches the given element.
StringtoString()
Returns a text representation of this object.

Constructor Detail

CSSAndCondition

public CSSAndCondition(Condition c1, Condition c2)
Creates a new CombinatorCondition object.

Method Detail

fillAttributeSet

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

getConditionType

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

match

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

toString

public String toString()
Returns a text representation of this object.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.