parameters: (name, typeattr)
return_statement: return _ELEMENT_TO_CLASS[name]
docstring: Maps an element to a class that handles the element.
  
    Args:
      name: 'element' (the name of the element)
      typeattr: 'type' (the value of the type attribute, if present, else None)
  
    Return:
      type
docstring_summary: Maps an element to a class that handles the element.
docstring_tokens: Maps an element to a class that handles the element .
function: def ElementToClass(name, typeattr):
    '''Maps an element to a class that handles the element.
  
    Args:
      name: 'element' (the name of the element)
      typeattr: 'type' (the value of the type attribute, if present, else None)
  
    Return:
      type
    '''
    if name not in _ELEMENT_TO_CLASS:
      raise exception.UnknownElement()
    return _ELEMENT_TO_CLASS[name]
function_tokens: def ElementToClass ( name , typeattr ) : if name not in _ELEMENT_TO_CLASS : raise exception . UnknownElement ( ) return _ELEMENT_TO_CLASS [ name ]