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

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

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

revision 1.5 by wakaba, Sun Jun 17 14:15:39 2007 UTC revision 1.6 by wakaba, Sun Jul 8 13:04:37 2007 UTC
# Line 34  sub AUTOLOAD { Line 34  sub AUTOLOAD {
34    } elsif ({    } elsif ({
35      ## Read-write attributes (boolean, trivial accessors)      ## Read-write attributes (boolean, trivial accessors)
36      has_replacement_tree => 1,      has_replacement_tree => 1,
37        is_externally_declared => 1,
38    }->{$method_name}) {    }->{$method_name}) {
39      no strict 'refs';      no strict 'refs';
40      eval qq{      eval qq{
# Line 58  sub AUTOLOAD { Line 59  sub AUTOLOAD {
59      goto &{ $AUTOLOAD };      goto &{ $AUTOLOAD };
60    } elsif ({    } elsif ({
61      ## Read-write attributes (DOMString, trivial accessors)      ## Read-write attributes (DOMString, trivial accessors)
62        input_encoding => 1,
63      notation_name => 1,      notation_name => 1,
64      public_id => 1,      public_id => 1,
65      system_id => 1,      system_id => 1,
66      xml_encoding => 1,      xml_encoding => 1,
67        xml_version => 1,
68    }->{$method_name}) {    }->{$method_name}) {
69      no strict 'refs';      no strict 'refs';
70      eval qq{      eval qq{
# Line 195  sub manakai_entity_uri ($;$) { Line 198  sub manakai_entity_uri ($;$) {
198  } # manakai_entity_uri  } # manakai_entity_uri
199    
200  ## NOTE: Setter is a manakai extension.  ## NOTE: Setter is a manakai extension.
201    ## TODO: Document it.
202    sub input_encoding ($;$);
203    
204    ## NOTE: Setter is a manakai extension.
205    ## TODO: Document it.
206    sub is_externally_declared ($;$);
207    #    @@enDesc:
208    #      Whether the entity is declared by an external markup declaration,
209    #      i.e. a markup declaration occuring in the external subset or
210    #      in a parameter entity.
211    #    @@Type: boolean
212    #    @@TrueCase:
213    #      @@@enDesc:
214    #        If the entity is declared by an external markup declaration.
215    #    @@FalseCase:
216    #      @@@enDesc:
217    #        If the entity is declared by a markup declaration in
218    #        the internal subset, or if the <IF::Entity> node
219    #        is created in memory.
220    
221    ## NOTE: Setter is a manakai extension.
222  sub notation_name ($;$);  sub notation_name ($;$);
223    
224  ## NOTE: Setter is a manakai extension.  ## NOTE: Setter is a manakai extension.
# Line 206  sub system_id ($;$); Line 230  sub system_id ($;$);
230  ## NOTE: Setter is a manakai extension.  ## NOTE: Setter is a manakai extension.
231  sub xml_encoding ($;$);  sub xml_encoding ($;$);
232    
233    ## NOTE: Setter is a manakai extension.
234    ## TODO: Document it. ## TODO: e.g. xml_version = '3.7'
235    ## TODO: Spec does not mention |null| case
236    ## TODO: Should we provide default?
237    sub xml_version ($;$);
238    
239  ## |Entity| methods  ## |Entity| methods
240    
241  ## NOTE: A manakai extension  ## NOTE: A manakai extension

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24