|
NAMEHTML::DOM::View - A Perl class for representing an HTML Document's 'defaultView' VERSIONVersion 0.058 SYNOPSIS use HTML::DOM;
$doc = HTML::DOM->new;
$view = new MyView;
$doc->defaultView($view);
package MyView;
BEGIN { @ISA = 'HTML::DOM::View'; }
use HTML::DOM::View;
sub new {
my $self = bless {}, shift; # doesn't have to be a hash
my $doc = shift;
$self->document($doc);
return $self
}
# ...
DESCRIPTIONThis class is used for an HTML::DOM object's 'default view.' It implements the AbstractView DOM interface. It is an inside-out class, so you can subclass it without being constrained to any particular object structure. METHODSMethods that HTML::DOM::View itself implements
Subclass methods that HTML::DOM::View uses
SEE ALSOHTML::DOM
|