public class CSSOneOfAttributeCondition extends CSSAttributeCondition
AttributeCondition
interface.localName, namespaceURI, specified
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
Constructor and Description |
---|
CSSOneOfAttributeCondition(java.lang.String localName,
java.lang.String namespaceURI,
boolean specified,
java.lang.String value)
Creates a new CSSAttributeCondition object.
|
Modifier and Type | Method and Description |
---|---|
short |
getConditionType()
SAC: Implements
Condition.getConditionType() . |
boolean |
match(Element e,
java.lang.String pseudoE)
Tests whether this condition matches the given element.
|
java.lang.String |
toString()
Returns a text representation of this object.
|
equals, fillAttributeSet, getLocalName, getNamespaceURI, getSpecified, hashCode
getSpecificity, getValue
public CSSOneOfAttributeCondition(java.lang.String localName, java.lang.String namespaceURI, boolean specified, java.lang.String value)
public short getConditionType()
Condition.getConditionType()
.getConditionType
in interface org.w3c.css.sac.Condition
getConditionType
in class CSSAttributeCondition
public boolean match(Element e, java.lang.String pseudoE)
match
in interface ExtendedCondition
match
in class CSSAttributeCondition
public java.lang.String toString()
toString
in class CSSAttributeCondition
Copyright © 2022 Apache Software Foundation. All Rights Reserved.