public abstract class AbstractAttributeCondition extends Object implements org.w3c.css.sac.AttributeCondition, ExtendedCondition
AttributeCondition interface.| Modifier and Type | Field and Description |
|---|---|
protected String |
value
The attribute value.
|
SAC_AND_CONDITION, SAC_ATTRIBUTE_CONDITION, SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION, SAC_CLASS_CONDITION, SAC_CONTENT_CONDITION, SAC_ID_CONDITION, SAC_LANG_CONDITION, SAC_NEGATIVE_CONDITION, SAC_ONE_OF_ATTRIBUTE_CONDITION, SAC_ONLY_CHILD_CONDITION, SAC_ONLY_TYPE_CONDITION, SAC_OR_CONDITION, SAC_POSITIONAL_CONDITION, SAC_PSEUDO_CLASS_CONDITION| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAttributeCondition(String value)
Creates a new AbstractAttributeCondition object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
getSpecificity()
Returns the specificity of this condition.
|
String |
getValue()
SAC: Implements
AttributeCondition.getValue(). |
int |
hashCode()
equal objects should have equal hashCodes.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetLocalName, getNamespaceURI, getSpecifiedfillAttributeSet, matchprotected String value
protected AbstractAttributeCondition(String value)
public boolean equals(Object obj)
public int hashCode()
public int getSpecificity()
getSpecificity in interface ExtendedConditionpublic String getValue()
AttributeCondition.getValue().getValue in interface org.w3c.css.sac.AttributeConditionCopyright © 2000–2017 Apache Software Foundation. All rights reserved.