public class CSSIdCondition extends AbstractAttributeCondition
org.w3c.css.sac.AttributeCondition
interface.Modifier and Type | Field and Description |
---|---|
protected String |
localName
The id attribute local name.
|
protected String |
namespaceURI
The id attribute namespace URI.
|
value
Constructor and Description |
---|
CSSIdCondition(String ns,
String ln,
String value)
Creates a new CSSAttributeCondition object.
|
Modifier and Type | Method and Description |
---|---|
void |
fillAttributeSet(Set attrSet)
Fills the given set with the attribute names found in this selector.
|
short |
getConditionType()
SAC: Implements
org.w3c.css.sac.Condition#getConditionType() . |
String |
getLocalName()
SAC: Implements
org.w3c.css.sac.AttributeCondition#getLocalName() . |
String |
getNamespaceURI()
SAC: Implements
org.w3c.css.sac.AttributeCondition#getNamespaceURI() . |
int |
getSpecificity()
Returns the specificity of this condition.
|
boolean |
getSpecified()
SAC: Implements
org.w3c.css.sac.AttributeCondition#getSpecified() . |
boolean |
match(Element e,
String pseudoE)
Tests whether this condition matches the given element.
|
String |
toString()
Returns a text representation of this object.
|
equals, getValue, hashCode
protected String namespaceURI
protected String localName
public short getConditionType()
org.w3c.css.sac.Condition#getConditionType()
.public String getNamespaceURI()
org.w3c.css.sac.AttributeCondition#getNamespaceURI()
.public String getLocalName()
org.w3c.css.sac.AttributeCondition#getLocalName()
.public boolean getSpecified()
org.w3c.css.sac.AttributeCondition#getSpecified()
.public boolean match(Element e, String pseudoE)
public void fillAttributeSet(Set attrSet)
public int getSpecificity()
getSpecificity
in interface ExtendedCondition
getSpecificity
in class AbstractAttributeCondition
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.