org.apache.batik.css.parser

Class AbstractSiblingSelector

public abstract class AbstractSiblingSelector extends Object implements SiblingSelector

This class provides an abstract implementation of the org.w3c.css.sac.SiblingSelector interface.
Field Summary
protected shortnodeType
The node type.
protected Selectorselector
The selector.
protected SimpleSelectorsimpleSelector
The simple selector.
Constructor Summary
protected AbstractSiblingSelector(short type, Selector sel, SimpleSelector simple)
Creates a new SiblingSelector object.
Method Summary
shortgetNodeType()
Returns the node type.
SelectorgetSelector()
SAC: Implements org.w3c.css.sac.SiblingSelector#getSelector().
SimpleSelectorgetSiblingSelector()
SAC: Implements org.w3c.css.sac.SiblingSelector#getSiblingSelector().

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 B) 2008 Apache Software Foundation. All Rights Reserved.