|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Condition
Field Summary | |
---|---|
static short |
SAC_AND_CONDITION
This condition checks exactly two conditions. |
static short |
SAC_ATTRIBUTE_CONDITION
This condition checks an attribute. |
static short |
SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION
This condition checks if the value is in a hypen-separated list of values in a specified attribute. |
static short |
SAC_CLASS_CONDITION
This condition checks for a specified class. |
static short |
SAC_CONTENT_CONDITION
This condition checks the content of a node. |
static short |
SAC_ID_CONDITION
This condition checks an id attribute. |
static short |
SAC_LANG_CONDITION
This condition checks the language of the node. |
static short |
SAC_NEGATIVE_CONDITION
This condition checks that a condition can't be applied to a node. |
static short |
SAC_ONE_OF_ATTRIBUTE_CONDITION
This condition checks for a value in a space-separated values in a specified attribute example: [values~="10"] |
static short |
SAC_ONLY_CHILD_CONDITION
This condition checks if a node is the only one in the node list. |
static short |
SAC_ONLY_TYPE_CONDITION
This condition checks if a node is the only one of his type. |
static short |
SAC_OR_CONDITION
This condition checks one of two conditions. |
static short |
SAC_POSITIONAL_CONDITION
This condition checks a specified position. |
static short |
SAC_PSEUDO_CLASS_CONDITION
This condition checks for the link pseudo class. |
Method Summary | |
---|---|
short |
getConditionType()
An integer indicating the type of Condition . |
Field Detail |
---|
static final short SAC_AND_CONDITION
.part1:lang(fr)
CombinatorCondition
,
Constant Field Valuesstatic final short SAC_OR_CONDITION
CombinatorCondition
,
Constant Field Valuesstatic final short SAC_NEGATIVE_CONDITION
NegativeCondition
,
Constant Field Valuesstatic final short SAC_POSITIONAL_CONDITION
:first-child
PositionalCondition
,
Constant Field Valuesstatic final short SAC_ATTRIBUTE_CONDITION
[simple] [restart="never"]
AttributeCondition
,
Constant Field Valuesstatic final short SAC_ID_CONDITION
#myId
AttributeCondition
,
Constant Field Valuesstatic final short SAC_LANG_CONDITION
:lang(fr)
LangCondition
,
Constant Field Valuesstatic final short SAC_ONE_OF_ATTRIBUTE_CONDITION
[values~="10"]
AttributeCondition
,
Constant Field Valuesstatic final short SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION
[languages|="fr"]
AttributeCondition
,
Constant Field Valuesstatic final short SAC_CLASS_CONDITION
.example
AttributeCondition
,
Constant Field Valuesstatic final short SAC_PSEUDO_CLASS_CONDITION
:link :visited :hover
AttributeCondition
,
Constant Field Valuesstatic final short SAC_ONLY_CHILD_CONDITION
static final short SAC_ONLY_TYPE_CONDITION
static final short SAC_CONTENT_CONDITION
ContentCondition
,
Constant Field ValuesMethod Detail |
---|
short getConditionType()
Condition
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |