org.w3c.flute.parser.selectors

Class ChildSelectorImpl

public class ChildSelectorImpl extends Object implements DescendantSelector

Version: $Revision: 6653 $

Author: Philippe Le Hegaret

Field Summary
SimpleSelectorchild
Selectorparent
Constructor Summary
ChildSelectorImpl(Selector parent, SimpleSelector child)
Creates a new ChildSelectorImpl
Method Summary
SelectorgetAncestorSelector()
Returns the parent selector.
shortgetSelectorType()
An integer indicating the type of Selector
SimpleSelectorgetSimpleSelector()

Field Detail

child

SimpleSelector child

parent

Selector parent

Constructor Detail

ChildSelectorImpl

public ChildSelectorImpl(Selector parent, SimpleSelector child)
Creates a new ChildSelectorImpl

Method Detail

getAncestorSelector

public Selector getAncestorSelector()
Returns the parent selector.

getSelectorType

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

getSimpleSelector

public SimpleSelector getSimpleSelector()