Chris Prather > XML-Toolkit-0.15 > XML::Toolkit::Builder::Filter

Download:
XML-Toolkit-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Module Version: 0.15   Source  

NAME ^

VERSION ^

version 0.15 XML::Toolkit::Builder::Filter - An XML::SAX Filter that generates Moose Classes from SAX events.

SYNOPSIS ^

    use XML::Toolkit::Builder::Filter;

    my $filter = XML::Toolkit::Builder::Filter->new( 
        template => $template, 
        namespace => $namespace 
    );

    my $parser = XML::SAX::ParserFactory->parser( Handler => $filter );

    $parser->parse_file($file);
    print $filter->render;

DESCRIPTION ^

The XML::Toolkit::Builder::Filter class implements an XML::SAX Filter that generates Moose Classes from SAX events.

METHODS ^

get_class_name()

Insert description of method here...

create_class($name, %params)

Insert description of method here...

add_attribute($class, $type, $attribute)

Insert description of method here...

add_text_attribute($class, $element)

Insert description of method here...

DEPENDENCIES ^

Modules used, version dependencies, core yes/no

Moose

MooseX::AttributeHelpers

Moose::Util::TypeConstraints

XML::Filter::Moose

BUGS AND LIMITATIONS ^

Please report any bugs or feature requests to bug-xml-toolkit@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHOR ^

Chris Prather (chris@prather.org)

LICENCE ^

Copyright 2009 by Chris Prather.

This software is free. It is licensed under the same terms as Perl itself.

syntax highlighting: