annotate Lib/IMPL/DOM/Schema/Validator.pm @ 404:9ef75f2029be default

sync
author cin
date Fri, 28 Aug 2015 19:54:53 +0300
parents 5aff94ba842f
children
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;
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
3
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
4 require IMPL::Exception;
389
5aff94ba842f DOM Schema refactoring complete
cin
parents: 230
diff changeset
5 use IMPL::declare {
5aff94ba842f DOM Schema refactoring complete
cin
parents: 230
diff changeset
6 base => [
5aff94ba842f DOM Schema refactoring complete
cin
parents: 230
diff changeset
7 'IMPL::DOM::Node' => '@_'
5aff94ba842f DOM Schema refactoring complete
cin
parents: 230
diff changeset
8 ]
5aff94ba842f DOM Schema refactoring complete
cin
parents: 230
diff changeset
9 };
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
10
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
11 sub Validate {
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
12 my ($this,$node) = @_;
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
13
4d0e1962161c Replaced tabs with spaces
cin
parents: 180
diff changeset
14 die new IMPL::NotImplementedException();
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
15 }
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
16
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
17 1;
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
18
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
19 __END__
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
20
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
21 =pod
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
22
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
23 =head1 NAME
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
24
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
25 C<IMPL::DOM::Schema::Validator> - Базовый класс для ограничений на простые значения.
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
26
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
27 =head1 DESCRIPTION
101
d8dc6cad3f55 Schema in progress
wizard
parents: 100
diff changeset
28
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
29 От основных элементов схемы его отличает то, что в конечном документе он не соответсвует
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
30 никаким узлам и поэтому у него отсутствуют свойства C<minOcuur,maxOccur,name>.
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
31
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 166
diff changeset
32 =cut