
OBO::CCO::XMLIntactParser - An IntAct XML parser

my $XMLIntactParser = XMLIntactParser->new; $XMLIntactParser->work($intact_xml_file); my @xml_interactors = @{$XMLIntactParser->interactors()}; my @xml_interactions = @{$XMLIntactParser->interactions()};

A parser for XML Intact files. It produces two arrays of interactor and interaction objects.

Mikel Egana Aranguren, mikel.eganaaranguren@cs.man.ac.uk

Copyright (C) 2007 by Mikel Egana Aranguren
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
Usage - $XMLIntactParser->work($intact_xml_file) Returns - Nothing Args - An IntAct XML file Function - Reads an IntAct XML file and generates two arrays of interactor and interaction objects, to be obtained with the interactors and interactions methods
Usage - $XMLIntactParser->interactors() Returns - Array of interactor objects Args - None Function - Get interactor objects
Usage - $XMLIntactParser->interactions() Returns - Array of interaction objects Args - None Function - Get interaction objects