comparison Lib/IMPL/DOM/XMLReader.pm @ 263:0f59b2de72af

*fixed IMPL::DOM::Schema circular module references *modified IMPL::Object::Singleton, added auto-activation *code cleanups, docs
author sergey
date Wed, 09 Jan 2013 05:17:44 +0400
parents 4d0e1962161c
children 4ddb27ff4a0b
comparison
equal deleted inserted replaced
262:4ac39b9e2ca4 263:0f59b2de72af
1 package IMPL::DOM::XMLReader; 1 package IMPL::DOM::XMLReader;
2 use strict; 2 use strict;
3 use warnings; 3 use warnings;
4 4
5 use parent qw(IMPL::Object IMPL::Object::Autofill); 5 use parent qw(IMPL::Object IMPL::Object::Autofill);
6
6 use IMPL::Class::Property; 7 use IMPL::Class::Property;
7 use IMPL::Class::Property::Direct; 8 use IMPL::Class::Property::Direct;
8 use XML::Parser; 9 use XML::Parser;
9 require IMPL::DOM::Schema; 10
10 require IMPL::DOM::Navigator::Builder; 11 use IMPL::require {
11 require IMPL::DOM::Navigator::SimpleBuilder; 12 Schema => 'IMPL::DOM::Schema', # IMPL::DOM::Schema references IMPL::DOM::XML::Reader
13 Builder => 'IMPL::DOM::Navigator::Builder',
14 SimpleBuilder => 'IMPL::DOM::Navigator::SimpleBuilder'
15 };
12 16
13 __PACKAGE__->PassThroughArgs; 17 __PACKAGE__->PassThroughArgs;
14 18
15 BEGIN { 19 BEGIN {
16 public _direct property Navigator => prop_get | owner_set; 20 public _direct property Navigator => prop_get | owner_set;