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 boolean
doubleColon_
private java.lang.String
localName_
-
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.String
getLocalName()
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
-
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:
getSelectorType
in interfaceSelector
- Returns:
- the associated selector type
-
getSimpleSelector
public SimpleSelector getSimpleSelector()
- Specified by:
getSimpleSelector
in interfaceSelector
- Returns:
- the simple selector part
-
getLocalName
public java.lang.String getLocalName()
- Returns:
- the local name
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-