public class LangConditionImpl extends LocatableImpl implements LangCondition, CSSFormatable, Serializable
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(String lang) |
Modifier and Type | Method and Description |
---|---|
short |
getConditionType() |
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
String |
getLang() |
void |
setLang(String lang) |
String |
toString() |
getLocator, setLocator
public LangConditionImpl(String lang)
public void setLang(String lang)
public short getConditionType()
getConditionType
in interface Condition
public String getLang()
getLang
in interface LangCondition
public String getCssText(CSSFormat format)
getCssText
in interface CSSFormatable
format
- the formatting rulesCopyright © 1999–2022. All rights reserved.