Mercurial > pub > Impl
comparison Lib/IMPL/DOM/Schema/ComplexNode.pm @ 20:267460284fb3
DOM Schema
author | Sergey |
---|---|
date | Tue, 22 Sep 2009 17:17:38 +0400 |
parents | 1ca530e5c9c5 |
children | 16ada169ca75 |
comparison
equal
deleted
inserted
replaced
19:1ca530e5c9c5 | 20:267460284fb3 |
---|---|
10 get => \&_getContent, | 10 get => \&_getContent, |
11 set => \&_setContent | 11 set => \&_setContent |
12 } | 12 } |
13 } | 13 } |
14 | 14 |
15 __PACKAGE__->PassThroughArgs; | 15 our %CTOR = ( |
16 'IMPL::DOM::Schema::Node' => sub {my %args = @_; $args{nodeName} ||= 'ComplexNode'; %args } | |
17 ); | |
16 | 18 |
17 sub _getContent { | 19 sub _getContent { |
18 $_[0]->firstChild; | 20 $_[0]->firstChild; |
19 } | 21 } |
20 | 22 |