Package org.apache.batik.css.parser
Class DefaultLangCondition
java.lang.Object
org.apache.batik.css.parser.DefaultLangCondition
- All Implemented Interfaces:
org.w3c.css.sac.Condition
,org.w3c.css.sac.LangCondition
This class provides an implementation of the
LangCondition
interface.- Version:
- $Id: DefaultLangCondition.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsFields 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
Constructors -
Method Summary
-
Field Details
-
lang
The language.
-
-
Constructor Details
-
DefaultLangCondition
Creates a new LangCondition object.
-
-
Method Details
-
getConditionType
public short getConditionType()SAC: ImplementsCondition.getConditionType()
.- Specified by:
getConditionType
in interfaceorg.w3c.css.sac.Condition
-
getLang
SAC: ImplementsLangCondition.getLang()
.- Specified by:
getLang
in interfaceorg.w3c.css.sac.LangCondition
-
toString
Returns a text representation of this object.
-