Mercurial > pub > Impl
view Lib/IMPL/DOM/Document.pm @ 17:7f88e01b58f8
dom
author | Sergey |
---|---|
date | Wed, 09 Sep 2009 17:43:31 +0400 |
parents | 16795016e70b |
children | 818c74b038ae |
line wrap: on
line source
package IMPL::DOM::Document; use strict; use warnings; use base qw(IMPL::DOM::Node); __PACKAGE__->PassThroughArgs; sub Create { my ($this,$nodeName,$class,$refProps) = @_; $refProps ||= {}; return $class->new( nodeName => $nodeName, %$refProps ); } 1; __END__ =pod =head1 DESCRIPTION Создает узел определеннго типа с определенным именем и свойствами. =cut