org.apache.batik.css.parser

Class DefaultConditionalSelector

public class DefaultConditionalSelector extends Object implements ConditionalSelector

This class provides an implementation of the {@link org.w3c.css.sac.ConditionalSelector} interface.
Field Summary
protected Conditioncondition
The condition.
protected SimpleSelectorsimpleSelector
The simple selector.
Constructor Summary
DefaultConditionalSelector(SimpleSelector s, Condition c)
Creates a new ConditionalSelector object.
Method Summary
ConditiongetCondition()
SAC: Implements {@link org.w3c.css.sac.ConditionalSelector#getCondition()}.
shortgetSelectorType()
SAC: Implements {@link org.w3c.css.sac.Selector#getSelectorType()}.
SimpleSelectorgetSimpleSelector()
SAC: Implements {@link org.w3c.css.sac.ConditionalSelector#getSimpleSelector()}.
StringtoString()
Returns a representation of the selector.

Field Detail

condition

protected Condition condition
The condition.

simpleSelector

protected SimpleSelector simpleSelector
The simple selector.

Constructor Detail

DefaultConditionalSelector

public DefaultConditionalSelector(SimpleSelector s, Condition c)
Creates a new ConditionalSelector object.

Method Detail

getCondition

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

getSelectorType

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

getSimpleSelector

public SimpleSelector getSimpleSelector()
SAC: Implements {@link org.w3c.css.sac.ConditionalSelector#getSimpleSelector()}.

toString

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