XML::Filter::Tee 0.41
Sponsored Links
XML::Filter::Tee 0.41 Ranking & Summary
File size:
0.042 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
801
Date added:
2007-08-17
Publisher:
Barrie Slaymaker
XML::Filter::Tee 0.41 description
XML::Filter::Tee can send SAX events to multiple processor, with switching.
SYNOPSIS
my $t = XML::Filter::Tee->new(
{ Handler => $h0 },
{ Handler => $h1 },
{ Handler => $h2 },
...
);
## Altering the handlers list:
$t->set_handlers( $h0, $h1, $h2, $h3 );
## Controlling flow to a handler by number and by reference:
$t->disable_handler( 0 );
$t->enable_handler( 0 );
$t->disable_handler( $h0 );
$t->enable_handler( $h0 );
## Use in a SAX machine (though see L
and
## L
for a more convenient way to build a machine
## like this):
my $m = Machine(
[ Intake => "XML::Filter::Tee" => qw( A B ) ],
[ A => ">>log.xml" ],
[ B => *OUTPUT ],
);
XML::Filter::Tee is a SAX filter that passes each event it receives on to a list of downstream handlers.
Its like XML::Filter::SAXT in that the events are not buffered; each event is sent first to the tap, and then to the branch (this is different from XML::SAX::Dispatcher, which buffers the events). Unlike XML::Filter::SAXT, it allows its list of handlers to be reconfigured (via "set_handlers") and it allows control over which handlers are allowed to receive events. These features are designed to make XML::Filter::Tee instances more useful with SAX machines, but they to add some overhead relative to XML::Filter::SAXT.
The events are not copied, since they may be data structures that are difficult or impossibly to copy properly, like parts of a C-based DOM implementation. This means that the handlers must not alter the events or later handlers will see the alterations.
SYNOPSIS
my $t = XML::Filter::Tee->new(
{ Handler => $h0 },
{ Handler => $h1 },
{ Handler => $h2 },
...
);
## Altering the handlers list:
$t->set_handlers( $h0, $h1, $h2, $h3 );
## Controlling flow to a handler by number and by reference:
$t->disable_handler( 0 );
$t->enable_handler( 0 );
$t->disable_handler( $h0 );
$t->enable_handler( $h0 );
## Use in a SAX machine (though see L
## L
## like this):
my $m = Machine(
[ Intake => "XML::Filter::Tee" => qw( A B ) ],
[ A => ">>log.xml" ],
[ B => *OUTPUT ],
);
XML::Filter::Tee is a SAX filter that passes each event it receives on to a list of downstream handlers.
Its like XML::Filter::SAXT in that the events are not buffered; each event is sent first to the tap, and then to the branch (this is different from XML::SAX::Dispatcher, which buffers the events). Unlike XML::Filter::SAXT, it allows its list of handlers to be reconfigured (via "set_handlers") and it allows control over which handlers are allowed to receive events. These features are designed to make XML::Filter::Tee instances more useful with SAX machines, but they to add some overhead relative to XML::Filter::SAXT.
The events are not copied, since they may be data structures that are difficult or impossibly to copy properly, like parts of a C-based DOM implementation. This means that the handlers must not alter the events or later handlers will see the alterations.
XML::Filter::Tee 0.41 Screenshot
XML::Filter::Tee 0.41 Keywords
XML
SAX
Tee 0.41
SAXT
events
handlers
handler
T-
switching
send
XML::Filter::Tee
XMLFilterTee
XML::Filter::Tee 0.41
Libraries
Programming
Bookmark XML::Filter::Tee 0.41
XML::Filter::Tee 0.41 Copyright
WareSeeker periodically updates pricing and software information of XML::Filter::Tee 0.41 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::Filter::Tee 0.41 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
food handlers card
mail handlers
handlers bars
air handlers
chelsea handler
food handlers permit
oregon food handlers card
mail handlers benefit plan
oregon food handlers
food handlers
chelsea handler quotes
mail handlers insurance
handlery san francisco
events in las vegas
chelsea handler gallery
current events
chelsea handler bio
events in seattle
Related Software
Sax Filter is a modular set of filters that can be used to process XML documents via Javas SAX support. Free Download
XML::Filter::DocSplitter does multipass processing of documents. Free Download
XML::Filter::DataIndenter is a SAX2 Indenter for data oriented XML. Free Download
XML::Filter::Dispatcher is a path based event dispatching with DOM support. Free Download
XML::Filter::Sort is a SAX filter for sorting elements in XML. Free Download
XML::Handler::Trees is a PerlSAX handlers for building tree structures. Free Download
XML::Generator::Essex is a Perl module that can generate XML with Essex. Free Download
XML::Filter::Sort::Buffer is an implementation class used by XML::Filter::Sort. Free Download
Latest Software
Popular Software
Favourite Software