|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Selector
This interface defines a selector.
Remarks: Not all the following selectors are supported (or will be supported) by CSS.
All examples are CSS2 compliant.
Field Summary | |
---|---|
static short |
SAC_ANY_NODE_SELECTOR
This selector matches any node. |
static short |
SAC_CDATA_SECTION_NODE_SELECTOR
This selector matches only cdata node. |
static short |
SAC_CHILD_SELECTOR
This selector matches a childhood relationship between two elements. |
static short |
SAC_COMMENT_NODE_SELECTOR
This selector matches only comment node. |
static short |
SAC_CONDITIONAL_SELECTOR
This is a conditional selector. |
static short |
SAC_DESCENDANT_SELECTOR
This selector matches an arbitrary descendant of some ancestor element. |
static short |
SAC_DIRECT_ADJACENT_SELECTOR
This selector matches two selectors who shared the same parent in the document tree and the element represented by the first sequence immediately precedes the element represented by the second one. |
static short |
SAC_ELEMENT_NODE_SELECTOR
This selector matches only element node. |
static short |
SAC_NEGATIVE_SELECTOR
This selector matches only node that are different from a specified one. |
static short |
SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR
This selector matches only processing instruction node. |
static short |
SAC_PSEUDO_ELEMENT_SELECTOR
This selector matches the 'first line' pseudo element. |
static short |
SAC_ROOT_NODE_SELECTOR
This selector matches the root node. |
static short |
SAC_TEXT_NODE_SELECTOR
This selector matches only text node. |
Method Summary | |
---|---|
short |
getSelectorType()
An integer indicating the type of Selector |
Field Detail |
---|
static final short SAC_CONDITIONAL_SELECTOR
simple[role="private"] .part1 H1#myId P:lang(fr).p1
ConditionalSelector
,
Constant Field Valuesstatic final short SAC_ANY_NODE_SELECTOR
SimpleSelector
,
Constant Field Valuesstatic final short SAC_ROOT_NODE_SELECTOR
SimpleSelector
,
Constant Field Valuesstatic final short SAC_NEGATIVE_SELECTOR
NegativeSelector
,
Constant Field Valuesstatic final short SAC_ELEMENT_NODE_SELECTOR
H1 animate
ElementSelector
,
Constant Field Valuesstatic final short SAC_TEXT_NODE_SELECTOR
CharacterDataSelector
,
Constant Field Valuesstatic final short SAC_CDATA_SECTION_NODE_SELECTOR
CharacterDataSelector
,
Constant Field Valuesstatic final short SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR
ProcessingInstructionSelector
,
Constant Field Valuesstatic final short SAC_COMMENT_NODE_SELECTOR
CharacterDataSelector
,
Constant Field Valuesstatic final short SAC_PSEUDO_ELEMENT_SELECTOR
:first-line
ElementSelector
,
Constant Field Valuesstatic final short SAC_DESCENDANT_SELECTOR
E F
DescendantSelector
,
Constant Field Valuesstatic final short SAC_CHILD_SELECTOR
E > F
DescendantSelector
,
Constant Field Valuesstatic final short SAC_DIRECT_ADJACENT_SELECTOR
E + F
SiblingSelector
,
Constant Field ValuesMethod Detail |
---|
short getSelectorType()
Selector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |