Class LangConditionImpl
- java.lang.Object
-
- com.steadystate.css.parser.selectors.LangConditionImpl
-
- All Implemented Interfaces:
java.io.Serializable
,Condition
,LangCondition
public class LangConditionImpl extends java.lang.Object implements LangCondition, java.io.Serializable
- Version:
- $Release$
- Author:
- David Schweinsberg
- See Also:
- Serialized Form
-
-
Field Summary
-
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
Constructors Constructor Description LangConditionImpl(java.lang.String lang)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getConditionType()
An integer indicating the type ofCondition
.java.lang.String
getLang()
Returns the languagejava.lang.String
toString()
-
-
-
Method Detail
-
getConditionType
public short getConditionType()
Description copied from interface:Condition
An integer indicating the type ofCondition
.- Specified by:
getConditionType
in interfaceCondition
-
getLang
public java.lang.String getLang()
Description copied from interface:LangCondition
Returns the language- Specified by:
getLang
in interfaceLangCondition
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-