Package org.w3c.flute.parser.selectors
Class ElementSelectorImpl
- java.lang.Object
-
- org.w3c.flute.parser.selectors.ElementSelectorImpl
-
- All Implemented Interfaces:
org.w3c.css.sac.ElementSelector
,org.w3c.css.sac.Selector
,org.w3c.css.sac.SimpleSelector
public class ElementSelectorImpl extends Object implements org.w3c.css.sac.ElementSelector
- Version:
- $Revision$
- Author:
- Philippe Le Hegaret
-
-
Field Summary
-
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
Constructors Constructor Description ElementSelectorImpl(String localName)
Creates a new ElementSelectorImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 ofSelector
-
-
-
Constructor Detail
-
ElementSelectorImpl
public ElementSelectorImpl(String localName)
Creates a new ElementSelectorImpl
-
-
Method Detail
-
getSelectorType
public short getSelectorType()
An integer indicating the type ofSelector
- Specified by:
getSelectorType
in interfaceorg.w3c.css.sac.Selector
-
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 interfaceorg.w3c.css.sac.ElementSelector
-
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 interfaceorg.w3c.css.sac.ElementSelector
-
-