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

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

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

revision 1.1 by wakaba, Thu Jun 14 13:10:06 2007 UTC revision 1.2 by wakaba, Fri Jun 15 14:32:50 2007 UTC
# Line 20  sub AUTOLOAD { Line 20  sub AUTOLOAD {
20    
21    if ({    if ({
22      ## Read-only attributes (trivial accessors)      ## Read-only attributes (trivial accessors)
23        node_name => 1,
24    }->{$method_name}) {    }->{$method_name}) {
25      no strict 'refs';      no strict 'refs';
26      eval qq{      eval qq{
# Line 53  sub AUTOLOAD { Line 54  sub AUTOLOAD {
54    
55  ## The |Node| interface - attribute  ## The |Node| interface - attribute
56    
57  sub node_type { 81002 } # ATTRIBUTE_DEFINITION_NODE  ## Spec:
58    ## <http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-F68D095>
59    ## <http://suika.fam.cx/gate/2005/sw/AttributeDefinition>
60    
61    sub node_name ($); # read-only trivial accessor
62    
63    ## Spec:
64    ## <http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-111237558>
65    
66    sub node_type ($) { 81002 } # ATTRIBUTE_DEFINITION_NODE
67    
68    ## Spec:
69    ## <http://suika.fam.cx/gate/2005/sw/AttributeDefinition#anchor-2>
70    
71    ## TODO: node_value
72    
73  package Message::IF::AttributeDefinition;  package Message::IF::AttributeDefinition;
74    
# Line 62  package Message::DOM::Document; Line 77  package Message::DOM::Document;
77  ## Spec:  ## Spec:
78  ## <http://suika.fam.cx/gate/2005/sw/DocumentXDoctype>  ## <http://suika.fam.cx/gate/2005/sw/DocumentXDoctype>
79    
80  sub create_attribute_definition ($$$) {  sub create_attribute_definition ($$) {
81    return Message::DOM::AttributeDefinition->____new (@_[0, 1]);    return Message::DOM::AttributeDefinition->____new (@_[0, 1]);
82  } # create_attribute_definition  } # create_attribute_definition
83    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24