|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.css.engine.sac.AbstractSiblingSelector
This class provides an abstract implementation of the SiblingSelector
interface.
Field Summary | |
protected short |
nodeType
The node type. |
protected Selector |
selector
The selector. |
protected SimpleSelector |
simpleSelector
The simple selector. |
Fields inherited from interface org.w3c.css.sac.SiblingSelector |
ANY_NODE |
Constructor Summary | |
protected |
AbstractSiblingSelector(short type,
Selector sel,
SimpleSelector simple)
Creates a new SiblingSelector object. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
short |
getNodeType()
Returns the node type. |
Selector |
getSelector()
SAC: Implements SiblingSelector.getSelector() . |
SimpleSelector |
getSiblingSelector()
SAC: Implements SiblingSelector.getSiblingSelector() . |
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 short nodeType
protected Selector selector
protected SimpleSelector simpleSelector
Constructor Detail |
protected AbstractSiblingSelector(short type, Selector sel, SimpleSelector simple)
Method Detail |
public short getNodeType()
getNodeType
in interface SiblingSelector
public boolean equals(java.lang.Object obj)
obj
- the reference object with which to compare.public int getSpecificity()
getSpecificity
in interface ExtendedSelector
public Selector getSelector()
SiblingSelector.getSelector()
.
getSelector
in interface SiblingSelector
public SimpleSelector getSiblingSelector()
SiblingSelector.getSiblingSelector()
.
getSiblingSelector
in interface SiblingSelector
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |