org.apache.batik.css.engine.sac

Class CSSPseudoElementSelector

public class CSSPseudoElementSelector extends AbstractElementSelector

This class implements the org.w3c.css.sac.ElementSelector interface.
Constructor Summary
CSSPseudoElementSelector(String uri, String name)
Creates a new CSSPseudoElementSelector object.
Method Summary
shortgetSelectorType()
SAC: Implements org.w3c.css.sac.Selector#getSelectorType().
intgetSpecificity()
Returns the specificity of this selector.
booleanmatch(Element e, String pseudoE)
Tests whether this selector matches the given element.
StringtoString()
Returns a representation of the selector.

Constructor Detail

CSSPseudoElementSelector

public CSSPseudoElementSelector(String uri, String name)
Creates a new CSSPseudoElementSelector object.

Method Detail

getSelectorType

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

getSpecificity

public int getSpecificity()
Returns the specificity of this selector.

match

public boolean match(Element e, String pseudoE)
Tests whether this selector matches the given element.

toString

public String toString()
Returns a representation of the selector.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.