'Loads the proper action by the type attribute of elem'

@classmethod
def from_elem(cls, parent, elem):

    action_type = elem.get('type', None)
    assert (action_type is not None), "Required    'type'    attribute    missing    from    ToolOutputAction"
    return action_types[action_type](parent, elem)
