Class LangCondition
- java.lang.Object
-
- org.htmlunit.cssparser.parser.AbstractLocatable
-
- org.htmlunit.cssparser.parser.condition.LangCondition
-
public class LangCondition extends AbstractLocatable implements Condition, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.htmlunit.cssparser.parser.condition.Condition
Condition.ConditionType
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
lang_
-
Constructor Summary
Constructors Constructor Description LangCondition(java.lang.String lang, Locator locator)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition.ConditionType
getConditionType()
java.lang.String
getLocalName()
java.lang.String
getValue()
java.lang.String
toString()
-
Methods inherited from class org.htmlunit.cssparser.parser.AbstractLocatable
getLocator, setLocator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.htmlunit.cssparser.parser.Locatable
getLocator, setLocator
-
-
-
-
Constructor Detail
-
LangCondition
public LangCondition(java.lang.String lang, Locator locator)
Ctor.- Parameters:
lang
- the languagelocator
- the locato
-
-
Method Detail
-
getConditionType
public Condition.ConditionType getConditionType()
- Specified by:
getConditionType
in interfaceCondition
- Returns:
- the associated condition type
-
getLocalName
public java.lang.String getLocalName()
- Specified by:
getLocalName
in interfaceCondition
- Returns:
- the local name
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-