/[suikacvs]/messaging/manakai/lib/Message/DOM/Attr.pm
Suika

Diff of /messaging/manakai/lib/Message/DOM/Attr.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by wakaba, Sun Jul 8 05:42:36 2007 UTC revision 1.9 by wakaba, Sun Jul 8 13:04:36 2007 UTC
# Line 77  sub manakai_local_name ($) { Line 77  sub manakai_local_name ($) {
77    
78  sub namespace_uri ($);  sub namespace_uri ($);
79    
 ## The name of the attribute [DOM1, DOM2].  
 ## Same as |Attr.name| [DOM3].  
   
80  *node_name = \&name;  *node_name = \&name;
81    
82  sub node_type () { 2 } # ATTRIBUTE_NODE  sub node_type () { 2 } # ATTRIBUTE_NODE
83    
84  ## The value of the attribute [DOM1, DOM2].  *node_value = \&Message::DOM::Node::text_content;
 ## Same as |Attr.value| [DOM3].  
   
 *node_value = \&value;  
85    
86  sub prefix ($;$) {  sub prefix ($;$) {
87    ## NOTE: No check for new value as Firefox doesn't do.    ## NOTE: No check for new value as Firefox doesn't do.
# Line 477  sub specified ($;$) { Line 471  sub specified ($;$) {
471    return ${$_[0]}->{specified};    return ${$_[0]}->{specified};
472  } # specified  } # specified
473    
474  sub value ($;$) {  *value = \&node_value;
   ## TODO:  
   shift->text_content (@_);  
 } # value  
475    
476  package Message::IF::Attr;  package Message::IF::Attr;
477    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24