CSS::Adaptor man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

CSS::Adaptor(3)	      User Contributed Perl Documentation      CSS::Adaptor(3)

NAME
       CSS::Adaptor - Arbitrarily map CSS data for use in another context.

SYNOPSIS
	 use CSS;

	 # create a CSS object with an adaptor
	 my $css = new CSS({
	      'adaptor' => 'CSS::Adaptor',
	 });

	 # load some CSS data
	 $css->read_file( "my_file.css" );

	 # change the adaptor
	 $css->set_adaptor( "CSS::Adaptor::Pretty" );

	 # output CSS object using the current adaptor
	 print $css->output();

DESCRIPTION
       This class is used by CSS to translate a CSS object to a string. This
       allows CSS data to be easily mapped into other formats.

       This documentation is for people who want to write their own
       CSS::Adaptor module. For usage information, see the documentation for
       CSS.

METHODS
   CONSTRUCTOR
       "new()"
	   Called without options.

   FUNCTIONS
       "output_rule( $rule )"
	   returns a string containing a formatted CSS::Style object, passed
	   as an object ref

       "output_selectors( $selectors )"
	   returns a string containing a formatted list of CSS::Selector
	   objects, passed as an array ref

       "output_properties( $properties )"
	   returns a string containing a formatted list of CSS::Property
	   objects, passed as an array ref

       "output_values( $values )"
	   returns a string containing a formatted list of CSS::Value objects,
	   passed as an array ref

AUTHORS
       Copyright (C) 2001-2002, Allen Day <allenday@ucla.edu>

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

SEE ALSO
       CSS

perl v5.14.1			  2008-04-23		       CSS::Adaptor(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net