com.steadystate.css.parser.selectors

Class PseudoElementSelectorImpl

Implemented Interfaces:
ElementSelector, Selector, Serializable, SimpleSelector

public class PseudoElementSelectorImpl
extends java.lang.Object
implements ElementSelector, Serializable

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

PseudoElementSelectorImpl(String localName)

Method Summary

String
getLocalName()
Returns the local part of the qualified name of this element.
String
getNamespaceURI()
Returns the namespace URI of this element selector.
short
getSelectorType()
An integer indicating the type of Selector

Constructor Details

PseudoElementSelectorImpl

public PseudoElementSelectorImpl(String localName)

Method Details

getLocalName

public String getLocalName()
Returns the local part of the qualified name of this element.

NULL if this element selector can match any element.

Specified by:
getLocalName in interface ElementSelector

getNamespaceURI

public String getNamespaceURI()
Returns the namespace URI of this element selector.

NULL if this element selector can match any namespace.

Specified by:
getNamespaceURI in interface ElementSelector

getSelectorType

public short getSelectorType()
An integer indicating the type of Selector
Specified by:
getSelectorType in interface Selector