org.apache.batik.css.engine.sac

Class AbstractElementSelector

public abstract class AbstractElementSelector extends Object implements ElementSelector, ExtendedSelector

This class provides an abstract implementation of the ElementSelector interface.
Field Summary
protected StringlocalName
The local name.
protected StringnamespaceURI
The namespace URI.
Constructor Summary
protected AbstractElementSelector(String uri, String name)
Creates a new ElementSelector object.
Method Summary
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
voidfillAttributeSet(Set attrSet)
Fills the given set with the attribute names found in this selector.
StringgetLocalName()
SAC: Implements org.w3c.css.sac.ElementSelector#getLocalName().
StringgetNamespaceURI()
SAC: Implements org.w3c.css.sac.ElementSelector#getNamespaceURI().

Field Detail

localName

protected String localName
The local name.

namespaceURI

protected String namespaceURI
The namespace URI.

Constructor Detail

AbstractElementSelector

protected AbstractElementSelector(String uri, String name)
Creates a new ElementSelector object.

Method Detail

equals

public boolean equals(Object obj)
Indicates whether some other object is "equal to" this one.

Parameters: obj the reference object with which to compare.

fillAttributeSet

public void fillAttributeSet(Set attrSet)
Fills the given set with the attribute names found in this selector.

getLocalName

public String getLocalName()
SAC: Implements org.w3c.css.sac.ElementSelector#getLocalName().

getNamespaceURI

public String getNamespaceURI()
SAC: Implements org.w3c.css.sac.ElementSelector#getNamespaceURI().
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.