annotate Lib/IMPL/DOM/Schema/Validator.pm @ 170:b88b7fe60aa3

refactoring
author sourcer
date Tue, 24 May 2011 01:11:16 +0400
parents 4267a2ac3d46
children d1676be8afcc
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;
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
2
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 {
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
10 my ($this,$node) = @_;
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
11
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
12 die new IMPL::NotImplementedException();
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
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
23 C<IMPL::DOM::Schema::Validator> - Базовый класс для ограничений на простые значения.
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
100
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
27 От основных элементов схемы его отличает то, что в конечном документе он не соответсвует
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
28 никаким узлам и поэтому у него отсутствуют свойства C<minOcuur,maxOccur,name>.
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
29
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
30 =cut