Class AbstractAttributeCondition

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String value
      The attribute value.
      • Fields inherited from interface org.w3c.css.sac.Condition

        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 Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractAttributeCondition​(java.lang.String value)
      Creates a new AbstractAttributeCondition object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Indicates whether some other object is "equal to" this one.
      int getSpecificity()
      Returns the specificity of this condition.
      java.lang.String getValue()
      SAC: Implements AttributeCondition.getValue().
      int hashCode()
      equal objects should have equal hashCodes.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.w3c.css.sac.AttributeCondition

        getLocalName, getNamespaceURI, getSpecified
      • Methods inherited from interface org.w3c.css.sac.Condition

        getConditionType
    • Field Detail

      • value

        protected java.lang.String value
        The attribute value.
    • Constructor Detail

      • AbstractAttributeCondition

        protected AbstractAttributeCondition​(java.lang.String value)
        Creates a new AbstractAttributeCondition object.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Indicates whether some other object is "equal to" this one.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the reference object with which to compare.
      • hashCode

        public int hashCode()
        equal objects should have equal hashCodes.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        hashCode of this AbstractAttributeCondition
      • getValue

        public java.lang.String getValue()
        SAC: Implements AttributeCondition.getValue().
        Specified by:
        getValue in interface org.w3c.css.sac.AttributeCondition