Home » xml-commons-external-1.4.01-src » org.w3c.css.sac » [javadoc | source]
org.w3c.css.sac
public interface: AttributeCondition [javadoc | source]

All Implemented Interfaces:
    Condition

Method from org.w3c.css.sac.AttributeCondition Summary:
getLocalName,   getNamespaceURI,   getSpecified,   getValue
Method from org.w3c.css.sac.AttributeCondition Detail:
 public String getLocalName()
    Returns the local part of the qualified name of this attribute.

    NULL if :

    • this attribute condition can match any attribute.

    • this attribute is a class attribute.

    • this attribute is an id attribute.

    • this attribute is a pseudo-class attribute.

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

    NULL if :

    • this attribute condition can match any namespace.
    • this attribute is an id attribute.
 public boolean getSpecified()
    Returns true if the attribute must have an explicit value in the original document, false otherwise.
 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 ':'.