CatalystX::Usul::File::Storage::XML - Read/write XML data storage model


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.

Index


Name

Top

CatalystX::Usul::File::Storage::XML - Read/write XML data storage model

Version

Top

0.3.$Revision: 597 $

Synopsis

Top

This is an abstract base class. See one of the subclasses for a concrete example

Description

Top

Implements the basic storage methods for reading and writing XML files

Subroutines/Methods

Top

delete

   $bool = $self->delete( $element_obj );

Deletes the specified element object returning true if successful. Throws an error otherwise

insert

   $bool = $self->insert( $element_obj );

Inserts the specified element object returning true if successful. Throws an error otherwise

load_files

   $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

select

   $hash_ref = $self->select;

Returns a hash ref containing all the elements of the type specified in the schema

update

   $bool = $self->update( $element_obj );

Updates the specified element object returning true if successful. Throws an error otherwise

Diagnostics

Top

None

Configuration and Environment

Top

None

Dependencies

Top

CatalystX::Usul
Hash::Merge
List::Util

Incompatibilities

Top

There are no known incompatibilities in this module

Bugs and Limitations

Top

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Top

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Top


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.