![]() |
![]()
| ![]() |
![]()
NAMEXML::Filter::Moose - A Moose-ified base class for XML::SAX VERSIONversion 0.15 SYNOPSISpackage MyFilter; use Moose extends qw(XML::SAX::Base); augment start_element => start { my ($self, $el) = @_; $el->{Data} = [do something]; }; DESCRIPTIONThe XML::Filter::Moose class implements ... ATTRIBUTESstack - ArrayReftext - StrMETHODSroot()Returns the root element, or the first element in the stack current_element()Insert description of subroutine here... is_root()Return true if we are currently working on the root element. parent_element()Returns the parent of the current element. start_document($document)Fires at the start of the document. start_element($element)Fires at the start of an element. characters($element)Fires at the start of a text node. end_element($element)Fires at the end of an element. end_document($document)Fires at the end of a document. DEPENDENCIESMoose XML::SAX::Base BUGS AND LIMITATIONSPlease report any bugs or feature requests to "bug-xml-toolkit@rt.cpan.org", or through the web interface at <http://rt.cpan.org>. AUTHORChris Prather (chris@prather.org) Based upon XML::SAX::Base Kip Hampton (khampton@totalcinema.com) Robin Berjon (robin@knowscape.com) Matt Sergeant (matt@sergeant.org) LICENCECopyright 2009 by Chris Prather. This software is free. It is licensed under the same terms as Perl itself.
|