@classmethod
def fromtree(cls, tree):
    """
        Create a METS from an ElementTree or Element.

        :param ElementTree tree: ElementTree to build a METS document from.
        """
    mets = cls()
    mets.tree = tree
    mets._parse_tree(tree)
    return mets
