org.apache.batik.css.parser
Class DefaultConditionalSelector

java.lang.Object
  extended by org.apache.batik.css.parser.DefaultConditionalSelector

public class DefaultConditionalSelector
extends java.lang.Object

This class provides an implementation of the org.w3c.css.sac.ConditionalSelector interface.


Field Summary
protected  Condition condition
          The condition.
protected  SimpleSelector simpleSelector
          The simple selector.
 
Constructor Summary
DefaultConditionalSelector(SimpleSelector s, Condition c)
          Creates a new ConditionalSelector object.
 
Method Summary
 Condition getCondition()
          SAC: Implements org.w3c.css.sac.ConditionalSelector#getCondition().
 short getSelectorType()
          SAC: Implements org.w3c.css.sac.Selector#getSelectorType().
 SimpleSelector getSimpleSelector()
          SAC: Implements org.w3c.css.sac.ConditionalSelector#getSimpleSelector().
 java.lang.String toString()
          Returns a representation of the selector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

simpleSelector

protected SimpleSelector simpleSelector
The simple selector.


condition

protected Condition condition
The condition.

Constructor Detail

DefaultConditionalSelector

public DefaultConditionalSelector(SimpleSelector s,
                                  Condition c)
Creates a new ConditionalSelector object.

Method Detail

getSelectorType

public short getSelectorType()
SAC: Implements org.w3c.css.sac.Selector#getSelectorType().


getSimpleSelector

public SimpleSelector getSimpleSelector()
SAC: Implements org.w3c.css.sac.ConditionalSelector#getSimpleSelector().


getCondition

public Condition getCondition()
SAC: Implements org.w3c.css.sac.ConditionalSelector#getCondition().


toString

public java.lang.String toString()
Returns a representation of the selector.

Overrides:
toString in class java.lang.Object


Copyright ? 2008 Apache Software Foundation. All Rights Reserved.