Björn Höhrmann > CSS-SAC > CSS::SAC::SelectorFactory

Download:
CSS-SAC-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  3
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

CSS::SAC::SelectorFactory - the default SelectorFactory

SYNOPSIS ^

 fill this in later...

DESCRIPTION ^

This is the default SelectorFactory for CSS::SAC. It creates selectors of all types defined in SAC. You may wish to subclass or replace the default SelectorFactory in order to get your own selector objects.

I plan on adding more flexibility to this factory so that one could tell it the classes to use for various selectors, that would avoid enforcing subclassing/recoding for people that only want to replace a family of factory methods.

I know that some of the method names are quite lengthy, but given the great number of possible selectors it helps to have descriptive names.

METHODS ^

All the create* methods have a spec-style equivalent. Just remove the _ and capitalize the next letter.

AUTHOR ^

Robin Berjon <robin@knowscape.com>

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

syntax highlighting: