InterMine::Model::Handler - The SAX handler for reading in a model
use InterMine::Model; use InterMine::Model::Handler; use XML::Parser::PerlSAX; my $handler = InterMine::Model::Handler->new( model => $self ); my $parser = XML::Parser::PerlSAX->new( Handler => $handler ); my $source; if ($source_is_string) { $source = { String => $source_arg }; } else { $source = { SystemId => $source_arg }; } $parser->parse( Source => $source );
This in a class used internally for processing the xml representation of the model that is returned from webservices, and stored as a the model's serialised representation. You will not need to use this class directly.
XML::Parser::PerlSAX
Standard constructor. Takes options as key value pairs, and expects just one option (model).
implementation of method required by XML::Parser::PerlSAX
FlyMine <support@flymine.org>
<support@flymine.org>
Please report any bugs or feature requests to support@flymine.org.
support@flymine.org
You can find documentation for this module with the perldoc command.
perldoc InterMine::Model
You can also look for information at:
FlyMine
http://www.flymine.org
Copyright 2006,2007,2008,2009, 2010, 2011 FlyMine, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install InterMine::Model, copy and paste the appropriate command in to your terminal.
cpanm
cpanm InterMine::Model
CPAN shell
perl -MCPAN -e shell install InterMine::Model
For more information on module installation, please visit the detailed CPAN module installation guide.