CSS::Property(3pm)

CSS::Property3pm

A property in a css object tree

Usage

  use CSS;

Overview

This module represents a property in a CSS object tree. Read the CSS.pm pod for information about the CSS object tree.

Methods

Constructors

new() or "new( { ..options.. } )"

This constructor returns a new "CSS::Property" object, with an optional hash of options.

  property      property name (as string)
  value         simple value string
  adaptor       adaptor to use for serialization

If the "value" option is passed, a "CSS::Value" object is automatically created and added to the object's values list.

Accessors

set_adaptor( 'CSS::Adaptor::Foo' )

This method sets the current adaptor for the object.

values()

This method is used to serialize the property's values, using the current adaptor. It returns a string which comes from the adaptor's output_values() method.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8–10
  5. 11–12
  6. 13

Author

Copyright (C) 2003-2004, Cal Henderson <[email protected]>

From libcss-perl 1.09-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.