annotate Lib/IMPL/DOM/Schema/Validator.pm @ 250:129e48bb5afb

DOM refactoring ObjectToDOM methods are virtual QueryToDOM uses inflators Fixed transform for the complex values in the ObjectToDOM QueryToDOM doesn't allow to use complex values (HASHes) as values for nodes (overpost problem)
author sergey
date Wed, 07 Nov 2012 04:17:53 +0400
parents 6d8092d8ce1b
children 5aff94ba842f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
1 package IMPL::DOM::Schema::Validator;
230
6d8092d8ce1b *reworked IMPL::Security
sergey
parents: 194
diff changeset
2 use strict;
166
4267a2ac3d46 Added Class::Template,
wizard
parents: 101
diff changeset
3 use parent qw(IMPL::DOM::Node);
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
4
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
5 require IMPL::Exception;
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
6
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
7 __PACKAGE__->PassThroughArgs;
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
8
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
9 sub Validate {
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
10 my ($this,$node) = @_;
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
11
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
12 die new IMPL::NotImplementedException();
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
13 }
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
14
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
15 1;
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
16
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
17 __END__
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
18
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
19 =pod
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
20
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
21 =head1 NAME
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
22
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
23 C<IMPL::DOM::Schema::Validator> - Базовый класс для ограничений на простые значения.
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
24
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
25 =head1 DESCRIPTION
101
d8dc6cad3f55 Schema in progress
wizard
parents: 100
diff changeset
26
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
27 От основных элементов схемы его отличает то, что в конечном документе он не соответсвует
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
28 никаким узлам и поэтому у него отсутствуют свойства C<minOcuur,maxOccur,name>.
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
29
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
30 =cut