def _parse(self):
        """
        Loop through all child elements and execute any available parse methods for them
        """
        for child in self._element:
            method_name = '_parse_{0}'.format(str(child.tag))  # TODO: This is a hack, skip comment objects here

            if hasattr(self, method_name):
                parse = getattr(self, method_name)
                parse(child)
def _parse ( self ) : for child in self . _element : method_name = '_parse_{0}' . format ( str ( child . tag ) ) if hasattr ( self , method_name ) : parse = getattr ( self , method_name ) parse ( child )
Loop through all child elements and execute any available parse methods for them