Class AttributeCondition
java.lang.Object
org.htmlunit.cssparser.parser.AbstractLocatable
org.htmlunit.cssparser.parser.condition.AttributeCondition
- All Implemented Interfaces:
Serializable
,Condition
,Locatable
- Direct Known Subclasses:
BeginHyphenAttributeCondition
,OneOfAttributeCondition
,PrefixAttributeCondition
,SubstringAttributeCondition
,SuffixAttributeCondition
- Author:
- Ronald Brill
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.htmlunit.cssparser.parser.condition.Condition
Condition.ConditionType
-
Constructor Summary
ConstructorDescriptionAttributeCondition
(String localName, String value, Boolean caseInSensitive) Ctor. -
Method Summary
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 Details
-
AttributeCondition
Ctor.- Parameters:
localName
- the local valuevalue
- the valuecaseInSensitive
- null if not set, true/false for i/s
-
-
Method Details
-
getConditionType
Description copied from interface:Condition
getConditionType.
- Specified by:
getConditionType
in interfaceCondition
- Returns:
- the associated condition type
-
getLocalName
getLocalName.
- Specified by:
getLocalName
in interfaceCondition
- Returns:
- the local name
-
getValue
getValue.
-
isCaseInSensitive
public boolean isCaseInSensitive()- Returns:
- true if the caseInsensitive option was set
-
getOperator
-
toString
-