Class DescendantSelectorImpl
- java.lang.Object
-
- com.steadystate.css.parser.selectors.DescendantSelectorImpl
-
- All Implemented Interfaces:
java.io.Serializable
,DescendantSelector
,Selector
public class DescendantSelectorImpl extends java.lang.Object implements DescendantSelector, java.io.Serializable
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description DescendantSelectorImpl(Selector parent, SimpleSelector simpleSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selector
getAncestorSelector()
Returns the parent selector.short
getSelectorType()
An integer indicating the type ofSelector
SimpleSelector
getSimpleSelector()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DescendantSelectorImpl
public DescendantSelectorImpl(Selector parent, SimpleSelector simpleSelector)
-
-
Method Detail
-
getSelectorType
public short getSelectorType()
Description copied from interface:Selector
An integer indicating the type ofSelector
- Specified by:
getSelectorType
in interfaceSelector
-
getAncestorSelector
public Selector getAncestorSelector()
Description copied from interface:DescendantSelector
Returns the parent selector.- Specified by:
getAncestorSelector
in interfaceDescendantSelector
-
getSimpleSelector
public SimpleSelector getSimpleSelector()
- Specified by:
getSimpleSelector
in interfaceDescendantSelector
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-