@classmethod
def get_child_class(cls, tagname):
    """Returns the child class where the tagname can be added. For example
        if it's an element of list return the list class.
        """
    if tagname == cls._children_class.tagname:
        return cls._children_class
