29 |
} elsif ({ |
} elsif ({ |
30 |
## Read-write attributes (DOMString, trivial accessors) |
## Read-write attributes (DOMString, trivial accessors) |
31 |
manakai_base_uri => 1, |
manakai_base_uri => 1, |
|
data => 1, |
|
32 |
}->{$method_name}) { |
}->{$method_name}) { |
33 |
no strict 'refs'; |
no strict 'refs'; |
34 |
eval qq{ |
eval qq{ |
132 |
|
|
133 |
sub manakai_base_uri ($;$); |
sub manakai_base_uri ($;$); |
134 |
|
|
135 |
sub data ($;$); |
sub data ($;$) { |
136 |
|
if (@_ > 1) { |
137 |
|
if (${${$_[0]}->{owner_document}}->{strict_error_checking} and |
138 |
|
${$_[0]}->{manakai_read_only}) { |
139 |
|
report Message::DOM::DOMException |
140 |
|
-object => $_[0], |
141 |
|
-type => 'NO_MODIFICATION_ALLOWED_ERR', |
142 |
|
-subtype => 'READ_ONLY_NODE_ERR'; |
143 |
|
} |
144 |
|
|
145 |
|
if (defined $_[1]) { |
146 |
|
${$_[0]}->{data} = ''.$_[1]; |
147 |
|
} else { |
148 |
|
${$_[0]}->{data} = ''; |
149 |
|
} |
150 |
|
} |
151 |
|
|
152 |
|
return ${$_[0]}->{data}; |
153 |
|
} # data |
154 |
|
|
155 |
sub target ($); |
sub target ($); |
156 |
|
|