Björn Höhrmann
and 1 contributors

NAME

CSS::SAC::Condition::Attribute - SAC AttributeConditions

SYNOPSIS

 see CSS::SAC::Condition

DESCRIPTION

This is a subclass of CSS::SAC::Condition, look there for more documentation. This class adds the following methods (the spec equivalents are available as well, just prepend 'get'):

METHODS

  • CSS::SAC::Condition::Attribute->new($type,$lname,$ns,$specified,$value)

  • $cond->new($type,$lname,$ns,$specified,$value)

    Creates a new attribute condition.

  • $acond->LocalName([$lname])

    get/set the local name

  • $acond->NamespaceURI([$ns])

    get/set the ns uri

  • $acond->Value([$value])

    get/set the value

  • $acond->Specified([$spec])

    get/set the 'specified' state, ie whether a specific value was requested for this attr

AUTHOR

Robin Berjon <robin@knowscape.com>

This module is licensed under the same terms as Perl itself.