9 |
## |DOMImplementationRegistry| methods |
## |DOMImplementationRegistry| methods |
10 |
|
|
11 |
sub get_dom_implementation ($$) { |
sub get_dom_implementation ($$) { |
|
local $Error::Depth = $Error::Depth + 1; |
|
12 |
for my $class (keys %$Message::DOM::DOMImplementationRegistry::SourceClass) { |
for my $class (keys %$Message::DOM::DOMImplementationRegistry::SourceClass) { |
13 |
my $r = $class->get_dom_implementation ($_[1]); |
my $r = $class->get_dom_implementation ($_[1]); |
14 |
return $r if defined $r; |
return $r if defined $r; |
16 |
} # get_dom_implementation |
} # get_dom_implementation |
17 |
|
|
18 |
sub get_dom_implementation_list ($$) { |
sub get_dom_implementation_list ($$) { |
|
local $Error::Depth = $Error::Depth + 1; |
|
19 |
require Message::DOM::DOMImplementationList; |
require Message::DOM::DOMImplementationList; |
20 |
my $list = bless [], 'Message::DOM::DOMImplementationList'; |
my $list = bless [], 'Message::DOM::DOMImplementationList'; |
21 |
for my $class (keys %$Message::DOM::DOMImplementationRegistry::SourceClass) { |
for my $class (keys %$Message::DOM::DOMImplementationRegistry::SourceClass) { |