|
||||||||||
| 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
LangCondition interface.
| Field Summary | |
|---|---|
protected String |
lang
The language. |
protected String |
langHyphen
The language with a hyphen suffixed. |
| Fields inherited from interface org.w3c.css.sac.Condition |
|---|
SAC_AND_CONDITION, SAC_ATTRIBUTE_CONDITION, SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION, SAC_CLASS_CONDITION, SAC_CONTENT_CONDITION, SAC_ID_CONDITION, SAC_LANG_CONDITION, SAC_NEGATIVE_CONDITION, SAC_ONE_OF_ATTRIBUTE_CONDITION, SAC_ONLY_CHILD_CONDITION, SAC_ONLY_TYPE_CONDITION, SAC_OR_CONDITION, SAC_POSITIONAL_CONDITION, SAC_PSEUDO_CLASS_CONDITION |
| 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 Condition.getConditionType(). |
String |
getLang()
SAC: Implements 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 Objectobj - the reference object with which to compare.public short getConditionType()
Condition.getConditionType().
getConditionType in interface org.w3c.css.sac.Conditionpublic String getLang()
LangCondition.getLang().
getLang in interface org.w3c.css.sac.LangConditionpublic int getSpecificity()
getSpecificity in interface ExtendedCondition
public boolean match(Element e,
String pseudoE)
match in interface ExtendedConditionpublic void fillAttributeSet(Set attrSet)
fillAttributeSet in interface ExtendedConditionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||