Rob Kinyon > Tree-Persist-1.00 > Tree::Persist::File::XML

Download:
Tree-Persist-1.00.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.00   Source   Latest Release: Tree-Persist-1.10

NAME ^

Tree::Persist::File::XML - a handler for Tree persistence

SYNOPSIS ^

Please see Tree::Persist for how to use this module.

DESCRIPTION ^

This module is a plugin for Tree::Persist to store a Tree to an XML file.

PARAMETERS ^

This class requires no additional parameters than are specified by its parent, Tree::Persist::File.

XML SPEC ^

The XML used is very simple. Each element is called "node". The node contains two attributes - "class", which represents the Tree class to build this node for, and "value", which is the serialized value contained in the node (as retrieved by the value() method.) Parent-child relationships are represented by the parent containing the child.

NOTE: This plugin will currently only handle values that are strings or have a stringification method.

TODO ^

CODE COVERAGE ^

Please see the relevant section of Tree::Persist.

SUPPORT ^

Please see the relevant section of Tree::Persist.

AUTHORS ^

Rob Kinyon <rob.kinyon@iinteractive.com>

Stevan Little <stevan.little@iinteractive.com>

Thanks to Infinity Interactive for generously donating our time.

COPYRIGHT AND LICENSE ^

Copyright 2004, 2005 by Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: