annotate Lib/IMPL/DOM/Document.pm @ 15:16795016e70b

Dom schema in progress
author Sergey
date Mon, 07 Sep 2009 17:30:55 +0400
parents
children 818c74b038ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
1 package IMPL::DOM::Document;
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
2 use strict;
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
3 use warnings;
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
4
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
5 use base qw(IMPL::DOM::Node);
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
6
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
7 __PACKAGE__->PassThroughArgs;
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
8
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
9 sub Create {
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
10 my ($this,$nodeName,$class,$refProps) = @_;
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
11
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
12 $refProps ||= {};
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
13
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
14 return $class->new(
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
15 nodeName => $nodeName,
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
16 %$refProps
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
17 );
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
18 }
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
19
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
20 1;
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
21 __END__
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
22
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
23 =pod
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
24
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
25 =head1 DESCRIPTION
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
26
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
27 Создает узел определеннго типа с определенным именем и свойствами.
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
28
16795016e70b Dom schema in progress
Sergey
parents:
diff changeset
29 =cut