XML::Toolkit::Builder::Filter - An XML::SAX Filter that generates Moose Classes


XML-Toolkit documentation  | view source Contained in the XML-Toolkit distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

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

METHODS

Top

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

Top

Modules used, version dependencies, core yes/no

Moose

MooseX::AttributeHelpers

Moose::Util::TypeConstraints

XML::Filter::Moose

BUGS AND LIMITATIONS

Top

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

Top

Chris Prather (chris@prather.org)

LICENCE

Top

Copyright 2009 by Chris Prather.

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


XML-Toolkit documentation  | view source Contained in the XML-Toolkit distribution.