Mercurial > pub > Impl
annotate Lib/IMPL/DOM/Document.pm @ 19:1ca530e5c9c5
DOM схема, требует переработки в части схемы для описания схем. Автоверификация не проходит
author | Sergey |
---|---|
date | Fri, 11 Sep 2009 16:30:39 +0400 |
parents | 818c74b038ae |
children | 7f00786f8210 |
rev | line source |
---|---|
15 | 1 package IMPL::DOM::Document; |
2 use strict; | |
3 use warnings; | |
4 | |
5 use base qw(IMPL::DOM::Node); | |
6 | |
7 __PACKAGE__->PassThroughArgs; | |
8 | |
9 sub Create { | |
10 my ($this,$nodeName,$class,$refProps) = @_; | |
11 | |
12 $refProps ||= {}; | |
13 | |
14 return $class->new( | |
15 nodeName => $nodeName, | |
16 %$refProps | |
17 ); | |
18 } | |
19 | |
20 1; | |
21 __END__ | |
22 | |
23 =pod | |
24 | |
25 =head1 DESCRIPTION | |
26 | |
18 | 27 =head1 METHODS |
28 | |
29 =over | |
30 | |
31 =item C<<$doc->Create>> | |
32 | |
15 | 33 . |
34 | |
18 | 35 =back |
36 | |
15 | 37 =cut |