Package org.w3c.flute.parser.selectors
Class ChildSelectorImpl
java.lang.Object
org.w3c.flute.parser.selectors.ChildSelectorImpl
- All Implemented Interfaces:
org.w3c.css.sac.DescendantSelector
,org.w3c.css.sac.Selector
- Version:
- $Revision$
- Author:
- Philippe Le Hegaret
-
Field Summary
Fields inherited from interface org.w3c.css.sac.Selector
SAC_ANY_NODE_SELECTOR, SAC_CDATA_SECTION_NODE_SELECTOR, SAC_CHILD_SELECTOR, SAC_COMMENT_NODE_SELECTOR, SAC_CONDITIONAL_SELECTOR, SAC_DESCENDANT_SELECTOR, SAC_DIRECT_ADJACENT_SELECTOR, SAC_ELEMENT_NODE_SELECTOR, SAC_NEGATIVE_SELECTOR, SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR, SAC_PSEUDO_ELEMENT_SELECTOR, SAC_ROOT_NODE_SELECTOR, SAC_TEXT_NODE_SELECTOR
-
Constructor Summary
ConstructorDescriptionChildSelectorImpl
(org.w3c.css.sac.Selector parent, org.w3c.css.sac.SimpleSelector child) Creates a new ChildSelectorImpl -
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.css.sac.Selector
Returns the parent selector.short
An integer indicating the type ofSelector
org.w3c.css.sac.SimpleSelector
-
Constructor Details
-
ChildSelectorImpl
public ChildSelectorImpl(org.w3c.css.sac.Selector parent, org.w3c.css.sac.SimpleSelector child) Creates a new ChildSelectorImpl
-
-
Method Details
-
getSelectorType
public short getSelectorType()An integer indicating the type ofSelector
- Specified by:
getSelectorType
in interfaceorg.w3c.css.sac.Selector
-
getAncestorSelector
public org.w3c.css.sac.Selector getAncestorSelector()Returns the parent selector.- Specified by:
getAncestorSelector
in interfaceorg.w3c.css.sac.DescendantSelector
-
getSimpleSelector
public org.w3c.css.sac.SimpleSelector getSimpleSelector()- Specified by:
getSimpleSelector
in interfaceorg.w3c.css.sac.DescendantSelector
-