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
ConstructorsConstructorDescriptionAttributeCondition(String localName, String value, Boolean caseInSensitive) Ctor. -
Method Summary
Methods inherited from class org.htmlunit.cssparser.parser.AbstractLocatable
getLocator, setLocatorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:ConditiongetConditionType.
- Specified by:
getConditionTypein interfaceCondition- Returns:
- the associated condition type
-
getLocalName
getLocalName.
- Specified by:
getLocalNamein interfaceCondition- Returns:
- the local name
-
getValue
getValue.
-
isCaseInSensitive
public boolean isCaseInSensitive()- Returns:
- true if the caseInsensitive option was set
-
getOperator
- Returns:
- the operator '='
-
toString
-