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
public class AttributeCondition extends AbstractLocatable implements Condition, Serializable
- Author:
- Ronald Brill
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.htmlunit.cssparser.parser.condition.Condition
Condition.ConditionType
-
-
Constructor Summary
Constructors Constructor Description AttributeCondition(String localName, String value, Boolean caseInSensitive)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition.ConditionTypegetConditionType()getConditionType.StringgetLocalName()getLocalName.StringgetOperator()StringgetValue()getValue.booleanisCaseInSensitive()StringtoString()-
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
-
-
-
-
Method Detail
-
getConditionType
public Condition.ConditionType getConditionType()
Description copied from interface:ConditiongetConditionType.
- Specified by:
getConditionTypein interfaceCondition- Returns:
- the associated condition type
-
getLocalName
public String getLocalName()
getLocalName.
- Specified by:
getLocalNamein interfaceCondition- Returns:
- the local name
-
getValue
public String getValue()
getValue.
-
isCaseInSensitive
public boolean isCaseInSensitive()
- Returns:
- true if the caseInsensitive option was set
-
getOperator
public String getOperator()
- Returns:
- the operator '='
-
-