GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

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

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

  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();

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.

"new()"
Called without options.

"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

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

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

CSS
2011-03-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.