class Elements implements List<Element>, Cloneable {

    public boolean hasText() {
        for (Element element: contents) {
            if (element.hasText())
                return true;
        }
        return false;
    }

    public  Elements();
    public  Elements(int initialCapacity);
    public  Elements(Collection<Element> elements);
    public  Elements(List<Element> elements);
    public  Elements(Element... elements);

}