public static class SelectorImpl.PseudoElementImpl extends Object implements Selector.PseudoElement
| Modifier | Constructor and Description |
|---|---|
protected |
PseudoElementImpl(String name) |
protected |
PseudoElementImpl(String name,
Selector nestedSelector) |
protected |
PseudoElementImpl(String name,
String functionValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeSpecificity(CombinedSelector.Specificity spec) |
boolean |
equals(Object obj) |
String |
getFunctionValue() |
String |
getName() |
Selector |
getNestedSelector() |
Selector.PseudoElementType |
getType() |
int |
hashCode() |
boolean |
matches(Element e,
ElementMatcher matcher,
MatchCondition cond) |
String |
toString() |
protected PseudoElementImpl(String name)
public String getName()
getName in interface Selector.PseudoElementpublic String getFunctionValue()
getFunctionValue in interface Selector.PseudoElementpublic Selector.PseudoElementType getType()
getType in interface Selector.PseudoElementpublic Selector getNestedSelector()
getNestedSelector in interface Selector.PseudoElementpublic void computeSpecificity(CombinedSelector.Specificity spec)
computeSpecificity in interface Selector.SelectorPartpublic boolean matches(Element e, ElementMatcher matcher, MatchCondition cond)
matches in interface Selector.SelectorPartCopyright © 2019. All rights reserved.