NAME

HTML::Feature::FrontParser - Inner dispatcher.

SYNOPSIS

use HTML::Feature::FrontParser;

my $front_parser = HTML::Feature::FrontParser->new( context => $html_feature );
my $html         = $front_parser->parse($indata); # $in_data is either of a URL or a string of HTML(scalar reference) or a HTTP::Request object

DESCRIPTION

HTML::Feature::FronParser is an Inner dispatcher. It detects the method that should be called in HTML::Feature.

METHODS

parse

parse($url);
# or
parse($html_ref);
# or
parse($http_response);

Parses the given argument. The argument can be either a URL, a string of HTML (must be passed as a scalar reference), or an HTTP::Response object. HTML::Feature will detect and delegate to the appropriate method (see below)

fetcher

accessor method that points to HTML::Feature::Fetcher object.

decoder

accessor method that points to HTML::Feature::Decoder object.

AUTHOR

Takeshi Miki <miki@cpan.org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO