org.w3c.flute.parser.selectors
Class ConditionalSelectorImpl
java.lang.Object
|
+--org.w3c.flute.parser.selectors.ConditionalSelectorImpl
- All Implemented Interfaces:
- org.w3c.css.sac.ConditionalSelector, org.w3c.css.sac.Selector,
org.w3c.css.sac.SimpleSelector
- public class ConditionalSelectorImpl
- extends java.lang.Object
- implements org.w3c.css.sac.ConditionalSelector
- Version:
- $Revision: 1.1 $
Fields inherited from interface
org.w3c.css.sac.Selector |
SAC_ANY_NODE_SELECTOR, SAC_CDATA_SECTION_NODE_SELECTOR,
SAC_CHILD_SELECTOR, SAC_COMMENT_NODE_SELECTOR,
SAC_CONDITIONAL_SELECTOR, SAC_DESCENDANT_SELECTOR,
SAC_DIRECT_ADJACENT_SELECTOR, SAC_ELEMENT_NODE_SELECTOR,
SAC_NEGATIVE_SELECTOR, SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR,
SAC_PSEUDO_ELEMENT_SELECTOR, SAC_ROOT_NODE_SELECTOR,
SAC_TEXT_NODE_SELECTOR |
Constructor Summary |
ConditionalSelectorImpl(org.w3c.css.sac.SimpleSelector simpleSelector,
org.w3c.css.sac.Condition condition)
Creates
a new ConditionalSelectorImpl |
Method Summary |
org.w3c.css.sac.Condition |
getCondition()
Returns
the condition to be applied on the simple selector. |
short |
getSelectorType()
An
integer indicating the type of Selector |
org.w3c.css.sac.SimpleSelector |
getSimpleSelector()
Returns
the simple selector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify,
notifyAll, toString, wait, wait, wait |
ConditionalSelectorImpl
public ConditionalSelectorImpl(org.w3c.css.sac.SimpleSelector simpleSelector,
org.w3c.css.sac.Condition condition)
- Creates a new ConditionalSelectorImpl
getCondition
public org.w3c.css.sac.Condition getCondition()
- Returns the condition to be applied on the simple
selector.
-
- Specified by:
getCondition
in interface
org.w3c.css.sac.ConditionalSelector
getSelectorType
public short getSelectorType()
- An integer indicating the type of
Selector
-
- Specified by:
getSelectorType
in interface
org.w3c.css.sac.Selector
getSimpleSelector
public org.w3c.css.sac.SimpleSelector getSimpleSelector()
- Returns the simple selector.
The simple selector can't be a
ConditionalSelector
.
-
- Specified by:
getSimpleSelector
in interface
org.w3c.css.sac.ConditionalSelector
Copyright
© 2002 W3C® (MIT, INRIA,
Keio), All Rights Reserved.
W3C liability,
trademark,
document
use and software
licensing rules apply. Your interactions with this site are in
accordance with our public
and Member
privacy statements.