com.steadystate.css.parser.selectors
Class LangConditionImpl

java.lang.Object
  extended by 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
LangConditionImpl(java.lang.String lang)
           
 
Method Summary
 short getConditionType()
          An integer indicating the type of Condition.
 java.lang.String getLang()
          Returns the language
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LangConditionImpl

public LangConditionImpl(java.lang.String lang)
Method Detail

getConditionType

public short getConditionType()
Description copied from interface: Condition
An integer indicating the type of Condition.

Specified by:
getConditionType in interface Condition

getLang

public java.lang.String getLang()
Description copied from interface: LangCondition
Returns the language

Specified by:
getLang in interface LangCondition

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object