public class CSSLangCondition extends Object implements ExtendedCondition
org.w3c.css.sac.LangCondition
interface.Modifier and Type | Field and Description |
---|---|
protected String |
lang
The language.
|
protected String |
langHyphen
The language with a hyphen suffixed.
|
Constructor and Description |
---|
CSSLangCondition(String lang)
Creates a new LangCondition object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
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 |
getLang()
SAC: Implements
org.w3c.css.sac.LangCondition#getLang() . |
int |
getSpecificity()
Returns the specificity of this condition.
|
boolean |
match(Element e,
String pseudoE)
Tests whether this condition matches the given element.
|
String |
toString()
Returns a text representation of this object.
|
protected String lang
protected String langHyphen
public CSSLangCondition(String lang)
public boolean equals(Object obj)
public short getConditionType()
org.w3c.css.sac.Condition#getConditionType()
.public String getLang()
org.w3c.css.sac.LangCondition#getLang()
.public int getSpecificity()
getSpecificity
in interface ExtendedCondition
public boolean match(Element e, String pseudoE)
match
in interface ExtendedCondition
public void fillAttributeSet(Set attrSet)
fillAttributeSet
in interface ExtendedCondition
Copyright ? 2009 Apache Software Foundation. All Rights Reserved.