Class PseudoElementSelector
- java.lang.Object
-
- org.htmlunit.cssparser.parser.AbstractLocatable
-
- org.htmlunit.cssparser.parser.selector.AbstractSelector
-
- org.htmlunit.cssparser.parser.selector.PseudoElementSelector
-
- All Implemented Interfaces:
java.io.Serializable,Locatable,Selector,SimpleSelector
public class PseudoElementSelector extends AbstractSelector implements SimpleSelector
- 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 booleandoubleColon_private java.lang.StringlocalName_
-
Constructor Summary
Constructors Constructor Description PseudoElementSelector(java.lang.String localName, Locator locator, boolean doubleColon)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLocalName()Selector.SelectorTypegetSelectorType()SimpleSelectorgetSimpleSelector()java.lang.StringtoString()-
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
-
Methods inherited from interface org.htmlunit.cssparser.parser.selector.Selector
getSelectorSpecificity
-
-
-
-
Constructor Detail
-
PseudoElementSelector
public PseudoElementSelector(java.lang.String localName, Locator locator, boolean doubleColon)Ctor.- Parameters:
localName- the local namelocator- the locatordoubleColon- double column flag
-
-
Method Detail
-
getSelectorType
public Selector.SelectorType getSelectorType()
- Specified by:
getSelectorTypein interfaceSelector- Returns:
- the associated selector type
-
getSimpleSelector
public SimpleSelector getSimpleSelector()
- Specified by:
getSimpleSelectorin interfaceSelector- Returns:
- the simple selector part
-
getLocalName
public java.lang.String getLocalName()
- Returns:
- the local name
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-