def METHOD_NAME(self):
    """ create a multistatus response for the prop names """
    dc=self._dataclass
    # create the document generator
    doc = domimpl.createDocument(None, "multistatus", None)
    ms = doc.documentElement
    ms.setAttribute("xmlns:D", "DAV:")
    ms.tagName = 'D:multistatus'
    if self._depth=="0":
        if self._uri in self._dataclass.get_childs(get_parenturi(self._uri),
                self.filter):
            pnames=dc.get_propnames(self._uri)
            re=self.mk_propname_response(self._uri,pnames, doc)
            ms.appendChild(re)
    elif self._depth=="1":
        if self._uri in self._dataclass.get_childs(get_parenturi(self._uri),
                self.filter):
            pnames=dc.get_propnames(self._uri)
            re=self.mk_propname_response(self._uri,pnames, doc)
            ms.appendChild(re)
        for newuri in dc.get_childs(self._uri, self.filter):
            pnames=dc.get_propnames(newuri)
            re=self.mk_propname_response(newuri,pnames, doc)
            ms.appendChild(re)
    elif self._depth=='infinity':
        uri_list = [self._uri]
        while uri_list:
            uri = uri_list.pop()
            if uri in self._dataclass.get_childs(get_parenturi(uri),
                    self.filter):
                pnames=dc.get_propnames(uri)
                re=self.mk_propname_response(uri,pnames, doc)
                ms.appendChild(re)
            uri_childs = self._dataclass.get_childs(uri)
            if uri_childs:
                uri_list.extend(uri_childs)
    return doc.toxml(encoding="utf-8")