public class CSSElementSelector extends AbstractElementSelector
org.w3c.css.sac.ElementSelector
interface.localName, namespaceURI
Constructor and Description |
---|
CSSElementSelector(String uri,
String name)
Creates a new ElementSelector object.
|
Modifier and Type | Method and Description |
---|---|
short |
getSelectorType()
SAC: Implements
org.w3c.css.sac.Selector#getSelectorType() . |
int |
getSpecificity()
Returns the specificity of this selector.
|
boolean |
match(Element e,
String pseudoE)
Tests whether this selector matches the given element.
|
String |
toString()
Returns a representation of the selector.
|
equals, fillAttributeSet, getLocalName, getNamespaceURI
public short getSelectorType()
org.w3c.css.sac.Selector#getSelectorType()
.public boolean match(Element e, String pseudoE)
public int getSpecificity()
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.