public class CSSDirectAdjacentSelector extends AbstractSiblingSelector
org.w3c.css.sac.DescendantSelector
interface.nodeType, selector, simpleSelector
Constructor and Description |
---|
CSSDirectAdjacentSelector(short type,
Selector parent,
SimpleSelector simple)
Creates a new CSSDirectAdjacentSelector object.
|
Modifier and Type | Method and Description |
---|---|
void |
fillAttributeSet(java.util.Set attrSet)
Fills the given set with the attribute names found in this selector.
|
short |
getSelectorType()
SAC: Implements
org.w3c.css.sac.Selector#getSelectorType() . |
boolean |
match(Element e,
java.lang.String pseudoE)
Tests whether this selector matches the given element.
|
java.lang.String |
toString()
Returns a representation of the selector.
|
equals, getNodeType, getSelector, getSiblingSelector, getSpecificity
public CSSDirectAdjacentSelector(short type, Selector parent, SimpleSelector simple)
public short getSelectorType()
org.w3c.css.sac.Selector#getSelectorType()
.public boolean match(Element e, java.lang.String pseudoE)
public void fillAttributeSet(java.util.Set attrSet)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.