org.w3c.flute.parser.selectors

Class ConditionalSelectorImpl

Implemented Interfaces:
ConditionalSelector

public class ConditionalSelectorImpl
extends java.lang.Object
implements ConditionalSelector

Constructor Summary

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

Method Summary

Condition
getCondition()
Returns the condition to be applied on the simple selector.
short
getSelectorType()
An integer indicating the type of Selector
SimpleSelector
getSimpleSelector()
Returns the simple selector.

Constructor Details

ConditionalSelectorImpl

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

Method Details

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.