|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.engine.sac.AbstractDescendantSelector
This class provides an abstract implementation of the DescendantSelector
interface.
Field Summary | |
protected Selector |
ancestorSelector
The ancestor selector. |
protected SimpleSelector |
simpleSelector
The simple selector. |
Constructor Summary | |
protected |
AbstractDescendantSelector(Selector ancestor,
SimpleSelector simple)
Creates a new DescendantSelector object. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
Selector |
getAncestorSelector()
SAC: Implements DescendantSelector.getAncestorSelector() . |
SimpleSelector |
getSimpleSelector()
SAC: Implements DescendantSelector.getSimpleSelector() . |
int |
getSpecificity()
Returns the specificity of this selector. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.css.sac.Selector |
getSelectorType |
Methods inherited from interface org.apache.batik.css.engine.sac.ExtendedSelector |
fillAttributeSet, match |
Field Detail |
protected Selector ancestorSelector
protected SimpleSelector simpleSelector
Constructor Detail |
protected AbstractDescendantSelector(Selector ancestor, SimpleSelector simple)
Method Detail |
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()
DescendantSelector.getAncestorSelector()
.
getAncestorSelector
in interface DescendantSelector
public SimpleSelector getSimpleSelector()
DescendantSelector.getSimpleSelector()
.
getSimpleSelector
in interface DescendantSelector
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |