# WWW::Extractor::XML::Declaration - a declaration in an XML / XHMTL / HTML document

package WWW::Extractor::XML::Element::Declaration;

use strict;
use vars qw(@ISA);

use HTML::Entities;

# new WWW::Extractor::XML::Element::Declaration($text)

@ISA = qw|WWW::Extractor::XML::Element::Text|;

sub type {
    return 'D';
}

sub as_string {
    my $self = shift;
    return '<!'.$self->SUPER::as_string.'>';
}

1
