Class GeneralAdjacentSelector
- java.lang.Object
-
- org.htmlunit.cssparser.parser.AbstractLocatable
-
- org.htmlunit.cssparser.parser.selector.AbstractSelector
-
- org.htmlunit.cssparser.parser.selector.GeneralAdjacentSelector
-
public class GeneralAdjacentSelector extends AbstractSelector
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.htmlunit.cssparser.parser.selector.Selector
Selector.SelectorType
-
-
Field Summary
Fields Modifier and Type Field Description private Selector
selector_
private SimpleSelector
simpleSelector_
-
Constructor Summary
Constructors Constructor Description GeneralAdjacentSelector(Selector child, SimpleSelector simpleSelector)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selector
getSelector()
Selector.SelectorType
getSelectorType()
SimpleSelector
getSimpleSelector()
java.lang.String
toString()
-
Methods inherited from class org.htmlunit.cssparser.parser.selector.AbstractSelector
getSelectorSpecificity
-
Methods inherited from class org.htmlunit.cssparser.parser.AbstractLocatable
getLocator, setLocator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.htmlunit.cssparser.parser.Locatable
getLocator, setLocator
-
-
-
-
Field Detail
-
selector_
private final Selector selector_
-
simpleSelector_
private final SimpleSelector simpleSelector_
-
-
Constructor Detail
-
GeneralAdjacentSelector
public GeneralAdjacentSelector(Selector child, SimpleSelector simpleSelector)
Ctor.- Parameters:
child
- the child selectorsimpleSelector
- the simple selector
-
-
Method Detail
-
getSelectorType
public Selector.SelectorType getSelectorType()
- Returns:
- the associated selector type
-
getSelector
public Selector getSelector()
- Returns:
- the selector
-
getSimpleSelector
public SimpleSelector getSimpleSelector()
- Returns:
- the simple selector part
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-