annotate Lib/IMPL/DOM/Schema/Validator.pm @ 109:ddf0f037d460

IMPL::DOM::Node updated to support TT, (added childNodesRef and selectNodesRef for using from TT) Some fixes to the web document model. (beta version)
author wizard
date Mon, 17 May 2010 05:12:08 +0400
parents d8dc6cad3f55
children 4267a2ac3d46
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
df6b4f054957 Schema in progress
wizard
parents:
diff changeset
3 use base qw(IMPL::DOM::Node);
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