Mercurial > pub > Impl
view Lib/IMPL/DOM/Schema/SimpleNode.pm @ 63:76b878ad6596
Added serialization support for the IMPL::Object::List
More intelligent Exception message
Fixed encoding support in the actions
Improoved tests
Minor fixes
author | wizard |
---|---|
date | Mon, 15 Mar 2010 02:38:09 +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