Logo Search packages:      
Sourcecode: jclic version File versions  Download package

List org::jdom::Element::cloneContent (  )  [inline]

Starting at the given index (inclusive), returns the index of the first child matching the supplied filter, or -1 if none is found.

index of child, or -1 if none found Returns a list containing detached clones of this parent's content list.

list of cloned child content

Implements org::jdom::Parent.

Definition at line 871 of file Element.java.

References org::jdom::Content::clone(), getContent(), and getContentSize().

        int size = getContentSize();
        List list = new ArrayList(size);
        for (int i = 0; i < size; i++) {
            Content child = getContent(i);
        return list;

Generated by  Doxygen 1.6.0   Back to index