build_content_handler#
- gwpy.io.ligolw.build_content_handler( ) type[PartialLIGOLWContentHandler][source]#
Build a
ContentHandlerwith a given filter.- Parameters:
- parent
type, subclass ofxml.sax.handler.ContentHandler a class of contenthandler to use
- filter_func
callable the filter function to pass to the content handler creation
- parent
- Returns:
- contenthandlersubclass of
parent a new content handler that applies the filter function and the default parsing extras from
_wrap_content_handler().
- contenthandlersubclass of