Interface AttributeCondition2

All Superinterfaces:
AttributeCondition, Condition

public interface AttributeCondition2 extends AttributeCondition
Refines SAC's AttributeCondition interface.
  • Method Details

    • getLocalName

      String getLocalName()
      Returns the local part of the qualified name of this attribute.
      Specified by:
      getLocalName in interface AttributeCondition
      Returns:
      the local name of the attribute specified by this condition, or null if :
      • this attribute condition can match any attribute.

      • this attribute is a class attribute.

      • this attribute is an id attribute.

    • getValue

      String getValue()
      If this attribute is a class attribute, you'll get the class name without the '.'.
      Specified by:
      getValue in interface AttributeCondition
      Returns:
      the value of the attribute.
    • hasFlag

      boolean hasFlag(AttributeCondition2.Flag flag)
      Test this selector for the given flag.
      Parameters:
      flag - the flag to test.
      Returns:
      true if the supplied flag was set for this condition.