public static class SelectorImpl.ElementAttributeImpl extends Object implements Selector.ElementAttribute
| Modifier | Constructor and Description |
|---|---|
protected |
SelectorImpl.ElementAttributeImpl(String value,
boolean isStringValue,
Selector.Operator operator,
String attribute) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeSpecificity(CombinedSelector.Specificity spec) |
boolean |
equals(Object obj) |
String |
getAttribute() |
Selector.Operator |
getOperator() |
String |
getValue() |
int |
hashCode() |
boolean |
matches(Element e,
MatchCondition cond) |
Selector.ElementAttribute |
setAttribute(String name) |
void |
setOperator(Selector.Operator operator) |
Selector.ElementAttribute |
setValue(String value) |
String |
toString() |
protected SelectorImpl.ElementAttributeImpl(String value, boolean isStringValue, Selector.Operator operator, String attribute)
public Selector.Operator getOperator()
getOperator in interface Selector.ElementAttributepublic void setOperator(Selector.Operator operator)
setOperator in interface Selector.ElementAttributeoperator - the operator to setpublic String getAttribute()
getAttribute in interface Selector.ElementAttributepublic Selector.ElementAttribute setAttribute(String name)
setAttribute in interface Selector.ElementAttributename - the attribute to setpublic void computeSpecificity(CombinedSelector.Specificity spec)
computeSpecificity in interface Selector.SelectorPartpublic boolean matches(Element e, MatchCondition cond)
matches in interface Selector.SelectorPartpublic String getValue()
getValue in interface Selector.ElementAttributepublic Selector.ElementAttribute setValue(String value)
setValue in interface Selector.ElementAttributeCopyright © 2014. All rights reserved.