annotate Lib/IMPL/Object/ArrayObject.pm @ 19:1ca530e5c9c5

DOM схема, требует переработки в части схемы для описания схем. Автоверификация не проходит
author Sergey
date Fri, 11 Sep 2009 16:30:39 +0400
parents 78cd38551534
children 16ada169ca75
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
78cd38551534 in develop
Sergey
parents:
diff changeset
1 package IMPL::Object::ArrayObject;
78cd38551534 in develop
Sergey
parents:
diff changeset
2 use strict;
78cd38551534 in develop
Sergey
parents:
diff changeset
3 use warnings;
78cd38551534 in develop
Sergey
parents:
diff changeset
4
78cd38551534 in develop
Sergey
parents:
diff changeset
5 use base qw(IMPL::Object::Abstract);
78cd38551534 in develop
Sergey
parents:
diff changeset
6
78cd38551534 in develop
Sergey
parents:
diff changeset
7 sub new {
78cd38551534 in develop
Sergey
parents:
diff changeset
8 my $class = shift;
78cd38551534 in develop
Sergey
parents:
diff changeset
9 my $self = bless [], ref $class || $class;
78cd38551534 in develop
Sergey
parents:
diff changeset
10 $self->callCTOR(@_);
78cd38551534 in develop
Sergey
parents:
diff changeset
11 return $self;
78cd38551534 in develop
Sergey
parents:
diff changeset
12 }
78cd38551534 in develop
Sergey
parents:
diff changeset
13
78cd38551534 in develop
Sergey
parents:
diff changeset
14 sub surrogate {
78cd38551534 in develop
Sergey
parents:
diff changeset
15 return bless [], ref $_[0] || $_;
78cd38551534 in develop
Sergey
parents:
diff changeset
16 }
78cd38551534 in develop
Sergey
parents:
diff changeset
17
78cd38551534 in develop
Sergey
parents:
diff changeset
18 1;
78cd38551534 in develop
Sergey
parents:
diff changeset
19