def _parse_raw_data(self):
if self.uuid == _XMP_UUID:<EOL><INDENT>txt = self.raw_data.decode('<STR_LIT:utf-8>')<EOL>elt = ET.fromstring(txt)<EOL>self.data = ET.ElementTree(elt)<EOL><DEDENT>elif self.uuid == _GEOTIFF_UUID:<EOL><INDENT>self.data = tiff_header(self.raw_data)<EOL><DEDENT>elif self.uuid == _EXIF_UUID:<EOL><INDENT>self.data = tiff_header(self.raw_data[<NUM_LIT:6>:])<EOL><DEDENT>else:<EOL><INDENT>self.data = self.raw_data<EOL><DEDENT>
Private function for parsing UUID payloads if possible.