Mercurial > pub > Impl
view Lib/IMPL/DOM/Schema/SimpleNode.pm @ 59:0f3e369553bd
Rewritten property implementation (probably become slower but more flexible)
Configuration infrastructure in progress (in the aspect of the lazy activation)
Initial concept for the code generator
author | wizard |
---|---|
date | Tue, 09 Mar 2010 02:50:45 +0300 |
parents | 16ada169ca75 |
children | c289ed9662ca |
line wrap: on
line source
package IMPL::DOM::Schema::SimpleNode; use strict; use warnings; use base qw(IMPL::DOM::Schema::Node); our %CTOR = ( 'IMPL::DOM::Schema::Node' => sub {my %args = @_; $args{nodeName} ||= 'SimpleNode'; %args} ); sub Validate { my ($this,$node) = @_; map $_->Validate($node), @{$this->childNodes}; } 1; __END__ =pod =head1 DESCRIPTION Узел имеющий простое значение. Данный узел может содержать ограничения на простое значение. =cut