public abstract class AbstractDescendantSelector extends java.lang.Object implements ExtendedSelector
org.w3c.css.sac.DescendantSelector
interface.Modifier and Type | Field and Description |
---|---|
protected Selector |
ancestorSelector
The ancestor selector.
|
protected SimpleSelector |
simpleSelector
The simple selector.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractDescendantSelector(Selector ancestor,
SimpleSelector simple)
Creates a new DescendantSelector object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
Selector |
getAncestorSelector()
SAC: Implements
org.w3c.css.sac.DescendantSelector#getAncestorSelector() . |
SimpleSelector |
getSimpleSelector()
SAC: Implements
org.w3c.css.sac.DescendantSelector#getSimpleSelector() . |
int |
getSpecificity()
Returns the specificity of this selector.
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fillAttributeSet, match
protected Selector ancestorSelector
protected SimpleSelector simpleSelector
protected AbstractDescendantSelector(Selector ancestor, SimpleSelector simple)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.public int getSpecificity()
getSpecificity
in interface ExtendedSelector
public Selector getAncestorSelector()
org.w3c.css.sac.DescendantSelector#getAncestorSelector()
.public SimpleSelector getSimpleSelector()
org.w3c.css.sac.DescendantSelector#getSimpleSelector()
.Copyright ? 2009 Apache Software Foundation. All Rights Reserved.