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


Manual Reference Pages  -  CSS::SAC::SELECTORFACTORY (3)

.ds Aq ’

NAME

CSS::SAC::SelectorFactory - the default SelectorFactory

CONTENTS

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.
o CSS::SAC::SelectorFactory->new or $cf->new

Creates a new condition factory object.

o $sf->create_any_node_selector

creates a any-node selector

o $sf->create_cdata_section_selector($data)

creates a cdata selector

o $sf->create_child_selector($parent_sel,$child_sel)

creates a child selector

o $sf->create_comment_selector($data)

creates a comment selector

o $sf->create_conditional_selector($sel,$cond)

creates a conditional selector

o $sf->create_descendant_selector($parent_sel,$desc_sel)

creates a descendant selector

o $sf->create_direct_adjacent_selector($node_type,$child,$adjacent)

creates a direct adjacent selector

o $sf->create_element_selector($ns,$lname)

creates a element selector

o $sf->create_negative_selector($sel)

creates a negative selector

o $sf->create_processing_instruction_selector($target,$data)

creates a pi selector

o $sf->create_pseudo_element_selector($ns,$lname)

creates a pseudo-e selector

o $sf->create_root_node_selector

creates a root selector

o $sf->create_text_node_selector($data)

creates a text selector

AUTHOR

Robin Berjon <robin@knowscape.com>

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

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


perl v5.20.3 CSS::SAC::SELECTORFACTORY (3) 2001-08-17

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