org.w3c.css.sac

Interface AttributeCondition

public interface AttributeCondition extends Condition

Version: $Revision: 1.5 $

Author: Philippe Le Hegaret

See Also: SAC_ATTRIBUTE_CONDITION SAC_ONE_OF_ATTRIBUTE_CONDITION SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION SAC_ID_CONDITION SAC_CLASS_CONDITION SAC_PSEUDO_CLASS_CONDITION

Method Summary
StringgetLocalName()
Returns the local part of the qualified name of this attribute.
StringgetNamespaceURI()
Returns the namespace URI of this attribute condition.
booleangetSpecified()
Returns true if the attribute must have an explicit value in the original document, false otherwise.
StringgetValue()
Returns the value of the attribute.

Method Detail

getLocalName

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

NULL if :

getNamespaceURI

public String getNamespaceURI()
Returns the namespace URI of this attribute condition.

NULL if :

getSpecified

public boolean getSpecified()
Returns true if the attribute must have an explicit value in the original document, false otherwise.

getValue

public String getValue()
Returns the value of the attribute. If this attribute is a class or a pseudo class attribute, you'll get the class name (or psedo class name) without the '.' or ':'.