blipFill = ElementDef('p:blipFill', 'CT_BlipFillProperties')
        blipFill.add_child('a:blip', cardinality='?')
        blipFill.add_attributes('dpi', 'rotWithShape')

def element_def(self):
        """
        blipFill = ElementDef('p:blipFill', 'CT_BlipFillProperties')
        blipFill.add_child('a:blip', cardinality='?')
        blipFill.add_attributes('dpi', 'rotWithShape')
        """
        s = ("%s = ElementDef('%s', '%s')\n" %
             (self.name, self.name, self.name))
        for element in self.elements:
            s += ("%s.add_child('%s', cardinality='%s')\n" %
                  (self.name, element.name, element.cardinality))
        # for attribute in self.attributes:
        #     s += '\n  %s' % attribute
        return s