diff Lib/IMPL/DOM/Schema.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 2746a8e5a6c4
children 0f59b2de72af
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema.pm	Tue Nov 06 20:00:57 2012 +0400
+++ b/Lib/IMPL/DOM/Schema.pm	Wed Nov 07 04:17:53 2012 +0400
@@ -37,6 +37,7 @@
 
 my $validatorLoader = Loader->new(prefix => Validator, verifyNames => 1);
 
+#TODO rename and remove
 sub resolveType {
     $_[0]->{$_TypesMap}->{$_[1]} or die IMPL::KeyNotFoundException->new($_[1]);
 }
@@ -47,6 +48,11 @@
     $this->{$baseDir} = ($args{baseDir} || '.');
 }
 
+# compat
+sub ResolveType {
+    goto &resolveType
+}
+
 sub Create {
     my ($this,$nodeName,$class,$refArgs) = @_;