'An Item for Alfred\'s response
:param uid: The ID, alfred uses for frequency aggregation of the item, make it unique
:param arg: What is returned in {query} if the item is selected
:param title: The large text of the item
:param subtitle: The subtext of the item
:param valid: If false, the icon entry cannot be submitted by pressing enter
:param autocomplete: If set, will put this value instead of current arg in {query}
:param icon: Icon
:param icontype: Set to "fileicon" to use Icon from /Application or "filetype" to use default folder icon'

def __init__(self, uid, arg, title, subtitle='', valid=True, autocomplete=None, icon=None, icontype=None):

    self.uid = self._sanitizeStringForXML(uid)
    self.arg = self._sanitizeStringForXML(arg)
    self.title = self._sanitizeStringForXML(title)
    self.subtitle = self._sanitizeStringForXML(subtitle)
    self.valid = valid
    self.icon = icon
    self.autocomplete = autocomplete
    self.icontype = icontype
