org.apache.batik.css.parser
Class AbstractSiblingSelector

java.lang.Object
  extended by org.apache.batik.css.parser.AbstractSiblingSelector
Direct Known Subclasses:
DefaultDirectAdjacentSelector

public abstract class AbstractSiblingSelector
extends java.lang.Object

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


Field Summary
protected  short nodeType
          The node type.
protected  Selector selector
          The selector.
protected  SimpleSelector simpleSelector
          The simple selector.
 
Constructor Summary
protected AbstractSiblingSelector(short type, Selector sel, SimpleSelector simple)
          Creates a new SiblingSelector object.
 
Method Summary
 short getNodeType()
          Returns the node type.
 Selector getSelector()
          SAC: Implements org.w3c.css.sac.SiblingSelector#getSelector().
 SimpleSelector getSiblingSelector()
          SAC: Implements org.w3c.css.sac.SiblingSelector#getSiblingSelector().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeType

protected short nodeType
The node type.


selector

protected Selector selector
The selector.


simpleSelector

protected SimpleSelector simpleSelector
The simple selector.

Constructor Detail

AbstractSiblingSelector

protected AbstractSiblingSelector(short type,
                                  Selector sel,
                                  SimpleSelector simple)
Creates a new SiblingSelector object.

Method Detail

getNodeType

public short getNodeType()
Returns the node type.


getSelector

public Selector getSelector()
SAC: Implements org.w3c.css.sac.SiblingSelector#getSelector().


getSiblingSelector

public SimpleSelector getSiblingSelector()
SAC: Implements org.w3c.css.sac.SiblingSelector#getSiblingSelector().



Copyright ? 2008 Apache Software Foundation. All Rights Reserved.