Interface Condition

    • Field Detail

      • SAC_LANG_CONDITION

        static final short SAC_LANG_CONDITION
        This condition checks the language of the node. example:
           :lang(fr)
         
        See Also:
        LangCondition, Constant Field Values
      • SAC_ONE_OF_ATTRIBUTE_CONDITION

        static final short SAC_ONE_OF_ATTRIBUTE_CONDITION
        This condition checks for a value in a space-separated values in a specified attribute example:
           [values~="10"]
         
        See Also:
        AttributeCondition, Constant Field Values
      • SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION

        static final short SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION
        This condition checks if the value is in a hypen-separated list of values in a specified attribute. example:
           [languages|="fr"]
         
        See Also:
        AttributeCondition, Constant Field Values
      • SAC_PSEUDO_CLASS_CONDITION

        static final short SAC_PSEUDO_CLASS_CONDITION
        This condition checks for the link pseudo class. example:
           :link
           :visited
           :hover
         
        See Also:
        AttributeCondition, Constant Field Values
      • SAC_ONLY_CHILD_CONDITION

        static final short SAC_ONLY_CHILD_CONDITION
        This condition checks if a node is the only one in the node list.
        See Also:
        Constant Field Values
      • SAC_ONLY_TYPE_CONDITION

        static final short SAC_ONLY_TYPE_CONDITION
        This condition checks if a node is the only one of his type.
        See Also:
        Constant Field Values
    • Method Detail

      • getConditionType

        short getConditionType()
        An integer indicating the type of Condition.