NAME

Meta::Xml::Parsers::Deps - dependency analyzer for XML files.

COPYRIGHT

Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

MANIFEST: Deps.pm
PROJECT: meta
VERSION: 0.16

SYNOPSIS

package foo;
use Meta::Xml::Parsers::Deps qw();
my($deps_parser)=Meta::Xml::Parsers::Deps->new();
$deps_parser->parsefile($file);
my($deps)=$desp_parser->get_result();

DESCRIPTION

This is an expat based parser whose sole purpose is finiding dependencies for xml files.

FUNCTIONS

new($)
get_result($)
get_root($)
set_root($$)
handle_doctype($$$$$)
handle_externent($$$$)
TEST($)

FUNCTION DOCUMENTATION

new($)

This gives you a new object for a parser.

get_result($)

This will return the dependency object which is the result of the parse.

get_root($)

This method will retrieve the root node for the dependency object.

set_root($$)

This will set the root node that the deps will be attached to.

get_search_path($)

This method will retrieve the baseline relative path where this parser thinks the deps are.

set_search_path($$)

This method will set the search path.

handle_doctype($$$$$)

This method will handle the document type declarations and will add the dependency on the dtd to the deps object.

handle_externent($$$$)

This method will handle external entities. Remember that in a Deps parser we do not wish to process the external entity (if we had access to the graph we would have made sure that the file existed in the graph but since we dont we just omit it as dependency).

TEST($)

Test suite for this module.

SUPER CLASSES

Meta::Xml::Parsers::Base(3)

BUGS

None.

AUTHOR

Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER

HISTORY

0.00 MV real deps for docbook files
0.01 MV fix up xml parsers
0.02 MV spelling and papers
0.03 MV finish lit database and convert DocBook to SGML
0.04 MV XML rules
0.05 MV perl packaging
0.06 MV perl packaging
0.07 MV PDMT
0.08 MV md5 project
0.09 MV database
0.10 MV perl module versions in files
0.11 MV movies and small fixes
0.12 MV thumbnail user interface
0.13 MV more thumbnail issues
0.14 MV website construction
0.15 MV web site automation
0.16 MV SEE ALSO section fix

SEE ALSO

Meta::Development::Deps(3), Meta::Utils::Output(3), Meta::Xml::Parsers::Base(3), strict(3)

TODO

Nothing.