class Elements implements List<Element>, Cloneable {

    public String text() {
        StringBuilder sb = new StringBuilder();
        for (Element element : contents) {
            if (sb.length() != 0)
                sb.append(" ");
            sb.append(element.text());
        }
        return sb.toString();
    }

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

}