public class DefaultLangCondition extends Object implements org.w3c.css.sac.LangCondition
LangCondition
interface.Modifier and Type | Field and Description |
---|---|
protected String |
lang
The language.
|
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 and Description |
---|
DefaultLangCondition(String lang)
Creates a new LangCondition object.
|
Modifier and Type | Method and Description |
---|---|
short |
getConditionType()
SAC: Implements
Condition.getConditionType() . |
String |
getLang()
SAC: Implements
LangCondition.getLang() . |
String |
toString()
Returns a text representation of this object.
|
protected String lang
public DefaultLangCondition(String lang)
public short getConditionType()
Condition.getConditionType()
.getConditionType
in interface org.w3c.css.sac.Condition
public String getLang()
LangCondition.getLang()
.getLang
in interface org.w3c.css.sac.LangCondition
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.