1 package HTML::Zoom::TransformedStream;
4 use base qw(HTML::Zoom::FilterStream);
7 my ($class, $args) = @_;
8 $args->{selector} = $args->{transform}->selector;
9 $args->{match} = $args->{transform}->match;
10 $args->{filters} = $args->{transform}->filters;
11 my $new = $class->SUPER::new($args);
12 $new->{transform} = $args->{transform};
16 sub transform { shift->{transform} }