|
||||||||||
| 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 java.lang.String |
lang
The language. |
protected java.lang.String |
langHyphen
The language with a hyphen suffixed. |
| Constructor Summary | |
|---|---|
CSSLangCondition(java.lang.String lang)
Creates a new LangCondition object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
void |
fillAttributeSet(java.util.Set attrSet)
Fills the given set with the attribute names found in this selector. |
short |
getConditionType()
SAC: Implements org.w3c.css.sac.Condition#getConditionType(). |
java.lang.String |
getLang()
SAC: Implements org.w3c.css.sac.LangCondition#getLang(). |
int |
getSpecificity()
Returns the specificity of this condition. |
boolean |
match(org.w3c.dom.Element e,
java.lang.String pseudoE)
Tests whether this condition matches the given element. |
java.lang.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 java.lang.String lang
protected java.lang.String langHyphen
| Constructor Detail |
|---|
public CSSLangCondition(java.lang.String lang)
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare.public short getConditionType()
org.w3c.css.sac.Condition#getConditionType().
public java.lang.String getLang()
org.w3c.css.sac.LangCondition#getLang().
public int getSpecificity()
getSpecificity in interface ExtendedCondition
public boolean match(org.w3c.dom.Element e,
java.lang.String pseudoE)
match in interface ExtendedConditionpublic void fillAttributeSet(java.util.Set attrSet)
fillAttributeSet in interface ExtendedConditionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||