| CatalystX-Usul documentation | view source | Contained in the CatalystX-Usul distribution. |
CatalystX::Usul::File::Storage::XML - Read/write XML data storage model
0.3.$Revision: 597 $
This is an abstract base class. See one of the subclasses for a concrete example
Implements the basic storage methods for reading and writing XML files
$bool = $self->delete( $element_obj );
Deletes the specified element object returning true if successful. Throws an error otherwise
$bool = $self->insert( $element_obj );
Inserts the specified element object returning true if successful. Throws an error otherwise
$hash_ref = $self->load_files( @paths );
Loads each of the specified files merging the resultant hash ref which it returns. Paths are instances of CatalystX::Usul::File::IO
$hash_ref = $self->select;
Returns a hash ref containing all the elements of the type specified in the schema
$bool = $self->update( $element_obj );
Updates the specified element object returning true if successful. Throws an error otherwise
None
None
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Peter Flanigan, <Support at RoxSoft.co.uk>
Copyright (c) 2008 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
| CatalystX-Usul documentation | view source | Contained in the CatalystX-Usul distribution. |