|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.css.engine.sac.CSSLangCondition
public class CSSLangCondition
This class provides an implementation of the
org.w3c.css.sac.LangCondition
interface.
Field Summary | |
---|---|
protected String |
lang
The language. |
protected String |
langHyphen
The language with a hyphen suffixed. |
Constructor Summary | |
---|---|
CSSLangCondition(String lang)
Creates a new LangCondition object. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String lang
protected String langHyphen
Constructor Detail |
---|
public CSSLangCondition(String lang)
Method Detail |
---|
public boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.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
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |