3 |
our $VERSION=do{my @r=(q$Revision$=~/\d+/g);sprintf "%d."."%02d" x $#r,@r}; |
our $VERSION=do{my @r=(q$Revision$=~/\d+/g);sprintf "%d."."%02d" x $#r,@r}; |
4 |
push our @ISA, 'Message::IF::DOMImplementation'; |
push our @ISA, 'Message::IF::DOMImplementation'; |
5 |
|
|
6 |
|
## Spec: |
7 |
|
## <http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-102161490> |
8 |
|
|
9 |
sub ____new ($) { |
sub ____new ($) { |
10 |
my $self = bless {}, shift; |
my $self = bless {}, shift; |
11 |
return $self; |
return $self; |
18 |
|
|
19 |
my $module_name = { |
my $module_name = { |
20 |
create_document => 'Message::DOM::DOMDocument', ## TODO: New module name |
create_document => 'Message::DOM::DOMDocument', ## TODO: New module name |
21 |
|
create_document_type => 'Message::DOM::DocumentType', |
22 |
create_uri_reference => 'Message::URI::URIReference', |
create_uri_reference => 'Message::URI::URIReference', |
23 |
}->{$method_name}; |
}->{$method_name}; |
24 |
if ($module_name) { |
if ($module_name) { |
32 |
} # AUTOLOAD |
} # AUTOLOAD |
33 |
## DOMImplementation |
## DOMImplementation |
34 |
sub create_document ($;$$$); |
sub create_document ($;$$$); |
35 |
|
sub create_document_type ($$;$$); |
36 |
## URIImplementation |
## URIImplementation |
37 |
sub create_uri_reference ($$); |
sub create_uri_reference ($$); |
38 |
|
|