org.w3c.flute.parser.selectors

Class ConditionalSelectorImpl

public class ConditionalSelectorImpl extends Object implements ConditionalSelector

Version: $Revision: 6653 $

Author: Philippe Le Hegaret

Field Summary
Conditioncondition
SimpleSelectorsimpleSelector
Constructor Summary
ConditionalSelectorImpl(SimpleSelector simpleSelector, Condition condition)
Creates a new ConditionalSelectorImpl
Method Summary
ConditiongetCondition()
Returns the condition to be applied on the simple selector.
shortgetSelectorType()
An integer indicating the type of Selector
SimpleSelectorgetSimpleSelector()
Returns the simple selector.

Field Detail

condition

Condition condition

simpleSelector

SimpleSelector simpleSelector

Constructor Detail

ConditionalSelectorImpl

public ConditionalSelectorImpl(SimpleSelector simpleSelector, Condition condition)
Creates a new ConditionalSelectorImpl

Method Detail

getCondition

public Condition getCondition()
Returns the condition to be applied on the simple selector.

getSelectorType

public short getSelectorType()
An integer indicating the type of Selector

getSimpleSelector

public SimpleSelector getSimpleSelector()
Returns the simple selector.

The simple selector can't be a ConditionalSelector.