Field Summary |
---|
public static final short | SAC_AND_CONDITION | This condition checks exactly two conditions.
example:
.part1:lang(fr)
|
public static final short | SAC_OR_CONDITION | This condition checks one of two conditions. |
public static final short | SAC_NEGATIVE_CONDITION | This condition checks that a condition can't be applied to a node. |
public static final short | SAC_POSITIONAL_CONDITION | This condition checks a specified position.
example:
:first-child
|
public static final short | SAC_ATTRIBUTE_CONDITION | This condition checks an attribute.
example:
[simple]
[restart="never"]
|
public static final short | SAC_ID_CONDITION | This condition checks an id attribute.
example:
#myId
|
public static final short | SAC_LANG_CONDITION | This condition checks the language of the node.
example:
:lang(fr)
|
public 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"]
|
public 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"]
|
public static final short | SAC_CLASS_CONDITION | This condition checks for a specified class.
example:
.example
|
public static final short | SAC_PSEUDO_CLASS_CONDITION | This condition checks for the link pseudo class.
example:
:link
:visited
:hover
|
public static final short | SAC_ONLY_CHILD_CONDITION | This condition checks if a node is the only one in the node list. |
public static final short | SAC_ONLY_TYPE_CONDITION | This condition checks if a node is the only one of his type. |
public static final short | SAC_CONTENT_CONDITION | This condition checks the content of a node. |
Method from org.w3c.css.sac.Condition Detail: |
public short getConditionType()
An integer indicating the type of Condition . |