Class AttributeCondition
- java.lang.Object
-
- org.htmlunit.cssparser.parser.AbstractLocatable
-
- org.htmlunit.cssparser.parser.condition.AttributeCondition
-
- Direct Known Subclasses:
BeginHyphenAttributeCondition
,OneOfAttributeCondition
,PrefixAttributeCondition
,SubstringAttributeCondition
,SuffixAttributeCondition
public class AttributeCondition 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.Boolean
caseInSensitive_
private java.lang.String
localName_
private java.lang.String
value_
-
Constructor Summary
Constructors Constructor Description AttributeCondition(java.lang.String localName, java.lang.String value, java.lang.Boolean caseInSensitive)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition.ConditionType
getConditionType()
java.lang.String
getLocalName()
java.lang.String
getOperator()
java.lang.String
getValue()
boolean
isCaseInSensitive()
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
-
-
-
-
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()
-
isCaseInSensitive
public boolean isCaseInSensitive()
- Returns:
- true if the caseInsensitive option was set
-
getOperator
public java.lang.String getOperator()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-