4 |
|
|
5 |
require Message::Util::Error::DOMException; |
require Message::Util::Error::DOMException; |
6 |
|
|
7 |
package Message::DOM::IF::URIImplementation; |
package Message::IF::URIImplementation; |
8 |
package Message::DOM::DOMImplementation; |
package Message::DOM::DOMImplementation; |
9 |
push our @ISA, 'Message::DOM::IF::URIImplementation'; |
push our @ISA, 'Message::IF::URIImplementation'; |
10 |
|
|
11 |
sub create_uri_reference ($$) { |
sub create_uri_reference ($$) { |
12 |
if (UNIVERSAL::isa ($_[1], 'Message::DOM::IF::URIReference')) { |
if (UNIVERSAL::isa ($_[1], 'Message::IF::URIReference')) { |
13 |
local $Error::Depth = $Error::Depth + 1; |
local $Error::Depth = $Error::Depth + 1; |
14 |
return $_[1]->clone_uri_reference; |
return $_[1]->clone_uri_reference; |
15 |
} elsif (ref $_[1] eq 'SCALAR') { |
} elsif (ref $_[1] eq 'SCALAR') { |
25 |
$HasFeature->{'http://suika.fam.cx/www/2006/feature/uri'}->{''} = 1; |
$HasFeature->{'http://suika.fam.cx/www/2006/feature/uri'}->{''} = 1; |
26 |
$HasFeature->{'http://suika.fam.cx/www/2006/feature/uri'}->{'4.0'} = 1; |
$HasFeature->{'http://suika.fam.cx/www/2006/feature/uri'}->{'4.0'} = 1; |
27 |
|
|
28 |
package Message::DOM::IF::URIReference; |
package Message::IF::URIReference; |
29 |
package Message::URI::URIReference; |
package Message::URI::URIReference; |
30 |
push our @ISA, 'Message::DOM::IF::URIReference'; |
push our @ISA, 'Message::IF::URIReference'; |
31 |
|
|
32 |
sub uri_reference ($;$) { |
sub uri_reference ($;$) { |
33 |
if (@_ == 1) {my ($self) = @_; |
if (@_ == 1) {my ($self) = @_; |