1CSS::Property(3)      User Contributed Perl Documentation     CSS::Property(3)
2
3
4

NAME

6       CSS::Property - A property in a CSS object tree
7

SYNOPSIS

9         use CSS;
10

DESCRIPTION

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

METHODS

16       CONSTRUCTORS
17
18       "new()" or "new( { ..options.. } )"
19           This constructor returns a new "CSS::Property" object, with an
20           optional hash of options.
21
22             property      property name (as string)
23             value         simple value string
24             adaptor       adaptor to use for serialization
25
26           If the "value" option is passed, a "CSS::Value" object is automatiā€
27           cally created and added to the object's values list.
28
29       ACCESSORS
30
31       "set_adaptor( 'CSS::Adaptor::Foo' )"
32           This method sets the current adaptor for the object.
33
34       "values()"
35           This method is used to serialize the property's values, using the
36           current adaptor. It returns a string which comes from the adaptor's
37           "output_values()" method.
38

AUTHOR

40       Copyright (C) 2003-2004, Cal Henderson <cal@iamcal.com>
41

SEE ALSO

43       CSS, http://www.w3.org/TR/REC-CSS1
44
45
46
47perl v5.8.8                       2008-04-22                  CSS::Property(3)
Impressum