org.apache.batik.css.engine.sac
public class CSSOneOfAttributeCondition extends CSSAttributeCondition
AttributeCondition interface.localName, namespaceURI, specifiedvalueSAC_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, hashCodegetSpecificity, getValuepublic 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.ConditiongetConditionType in class CSSAttributeConditionpublic boolean match(Element e, java.lang.String pseudoE)
match in interface ExtendedConditionmatch in class CSSAttributeConditionpublic java.lang.String toString()
toString in class CSSAttributeConditionCopyright ? 2008 Apache Software Foundation. All Rights Reserved.