public class SelectorSpecificity extends Object implements Comparable<SelectorSpecificity>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static SelectorSpecificity |
FROM_STYLE_ATTRIBUTE
The specificity for declarations made in the style attributes of an element.
|
| Constructor and Description |
|---|
SelectorSpecificity(org.w3c.css.sac.Selector selector)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SelectorSpecificity other) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public static final SelectorSpecificity FROM_STYLE_ATTRIBUTE
public SelectorSpecificity(org.w3c.css.sac.Selector selector)
selector - the selector to read frompublic int compareTo(SelectorSpecificity other)
compareTo in interface Comparable<SelectorSpecificity>Copyright © 2002–2017 Gargoyle Software Inc.. All rights reserved.