Class PseudoClassCSSCondition

  • All Implemented Interfaces:
    Serializable, CSSCondition, org.w3c.css.sac.AttributeCondition, org.w3c.css.sac.Condition

    public class PseudoClassCSSCondition
    extends Object
    implements org.w3c.css.sac.AttributeCondition, CSSCondition
    Creation-Date: 24.11.2005, 19:54:48
    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • PseudoClassCSSCondition

        public PseudoClassCSSCondition​(String namespace,
                                       String value)
    • Method Detail

      • getConditionType

        public short getConditionType()
        An integer indicating the type of Condition.
        Specified by:
        getConditionType in interface org.w3c.css.sac.Condition
      • getNamespaceURI

        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.
        Specified by:
        getNamespaceURI in interface org.w3c.css.sac.AttributeCondition
      • getSpecified

        public final boolean getSpecified()
        Returns true if the attribute must have an explicit value in the original document, false otherwise.
        Specified by:
        getSpecified in interface org.w3c.css.sac.AttributeCondition
      • getValue

        public String getValue()
        Specified by:
        getValue in interface org.w3c.css.sac.AttributeCondition
      • getLocalName

        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.

        Specified by:
        getLocalName in interface org.w3c.css.sac.AttributeCondition