public abstract class AbstractSiblingSelector extends java.lang.Object implements ExtendedSelector
org.w3c.css.sac.SiblingSelector interface.| Modifier and Type | Field and Description |
|---|---|
protected short |
nodeType
The node type.
|
protected Selector |
selector
The selector.
|
protected SimpleSelector |
simpleSelector
The simple selector.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSiblingSelector(short type,
Selector sel,
SimpleSelector simple)
Creates a new SiblingSelector object.
|
| Modifier and Type | Method and Description |
|---|---|
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
org.w3c.css.sac.SiblingSelector#getSelector(). |
SimpleSelector |
getSiblingSelector()
SAC: Implements
org.w3c.css.sac.SiblingSelector#getSiblingSelector(). |
int |
getSpecificity()
Returns the specificity of this selector.
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfillAttributeSet, matchprotected short nodeType
protected Selector selector
protected SimpleSelector simpleSelector
protected AbstractSiblingSelector(short type,
Selector sel,
SimpleSelector simple)
public short getNodeType()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare.public int getSpecificity()
getSpecificity in interface ExtendedSelectorpublic Selector getSelector()
org.w3c.css.sac.SiblingSelector#getSelector().public SimpleSelector getSiblingSelector()
org.w3c.css.sac.SiblingSelector#getSiblingSelector().Copyright ? 2009 Apache Software Foundation. All Rights Reserved.