def __getinnerreffs__(self, objectId, subreference):
        """ Resolve the list of urns between in a range

        :param text_metadata: Resource Metadata
        :param objectId: ID of the Text
        :type objectId: str
        :param subreference: ID of the Text
        :type subreference: str
        :return: References in the span
        """
        level = 0
        yield subreference
        while level > -1:
            reffs = self.__nemo__.resolver.getReffs(
                objectId,
                subreference=subreference,
                level=level
            )
            if len(reffs) == 0:
                break
            else:
                for r in reffs:
                    yield r
                level += 1
def __getinnerreffs__ ( self , objectId , subreference ) : level = 0 yield subreference while level > - 1 : reffs = self . __nemo__ . resolver . getReffs ( objectId , subreference = subreference , level = level ) if len ( reffs ) == 0 : break else : for r in reffs : yield r level += 1
Resolve the list of urns between in a range

        :param text_metadata: Resource Metadata
        :param objectId: ID of the Text
        :type objectId: str
        :param subreference: ID of the Text
        :type subreference: str
        :return: References in the span