public class CSSChildSelector extends AbstractDescendantSelector
org.w3c.css.sac.DescendantSelector
interface.ancestorSelector, simpleSelector
Constructor and Description |
---|
CSSChildSelector(Selector ancestor,
SimpleSelector simple)
Creates a new CSSChildSelector object.
|
Modifier and Type | Method and Description |
---|---|
void |
fillAttributeSet(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,
String pseudoE)
Tests whether this selector matches the given element.
|
String |
toString()
Returns a representation of the selector.
|
equals, getAncestorSelector, getSimpleSelector, getSpecificity
public CSSChildSelector(Selector ancestor, SimpleSelector simple)
public short getSelectorType()
org.w3c.css.sac.Selector#getSelectorType()
.public boolean match(Element e, String pseudoE)
public void fillAttributeSet(Set attrSet)
Copyright ? 2015 Apache Software Foundation. All Rights Reserved.