Meta::Xml::Parsers::Enum - parse XML/Enum into objects.


Meta documentation  | view source Contained in the Meta distribution.

Index


NAME

Top

Meta::Xml::Parsers::Enum - parse XML/Enum into objects.

COPYRIGHT

Top

LICENSE

Top

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

Top

	MANIFEST: Enum.pm
	PROJECT: meta
	VERSION: 0.01

SYNOPSIS

Top

	package foo;
	use Meta::Xml::Parsers::Enum qw();
	my($object)=Meta::Xml::Parsers::Enum->new();
	my($result)=$object->method();

DESCRIPTION

Top

This object is an XML parser which can parse XML/Enum files and produce the corresponding Meta::Info::Enum object.

FUNCTIONS

Top

	new($)
	get_result($)
	handle_start($$)
	handle_end($$)
	handle_endchar($$$)
	TEST($)

FUNCTION DOCUMENTATION

Top

new($)

This is a constructor for the Meta::Xml::Parsers::Enum object.

get_result($)

This method will retrieve the result of the parsing process.

handle_start($$)

This will handle start tags.

handle_end($$)

This will handle end tags. This currently does nothing.

handle_endchar($$$)

This will handle actual text.

TEST($)

This is a testing suite for the Meta::Xml::Parsers::Enum module. This test is should be run by a higher level management system at integration or release time or just as a regular routine to check that all is well.

SUPER CLASSES

Top

Meta::Xml::Parsers::Collector(3)

BUGS

Top

None.

AUTHOR

Top

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

HISTORY

Top

	0.00 MV teachers project
	0.01 MV md5 issues

SEE ALSO

Top

Meta::Info::Enum(3), Meta::Xml::Parsers::Collector(3), strict(3)

TODO

Top

-fix the constructor here or else explain in the code why is it so weird. Or maybe that this is the best way to do the constructor and we should change all the others to match ?!?


Meta documentation  | view source Contained in the Meta distribution.