public class LangConditionImpl extends java.lang.Object implements org.w3c.css.sac.LangCondition
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 |
---|
LangConditionImpl(java.lang.String lang)
Creates a new LangConditionImpl
|
Modifier and Type | Method and Description |
---|---|
short |
getConditionType()
An integer indicating the type of
Condition . |
java.lang.String |
getLang()
Returns the language
|
public LangConditionImpl(java.lang.String lang)
public short getConditionType()
Condition
.getConditionType
in interface org.w3c.css.sac.Condition
public java.lang.String getLang()
getLang
in interface org.w3c.css.sac.LangCondition