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

Element org::jdom::Element::addContent ( int  index,
Content  child 
) [inline]

Inserts the child into the content list at the given index.

index location for adding the collection
child child to insert
the parent on which the method was called
IndexOutOfBoundsException if index is negative or beyond the current number of children
IllegalAddException if the given child already has a parent.

Definition at line 847 of file Element.java.

References org::jdom::ContentList::add(), and content.

        content.add(index, child);
        return this;

Generated by  Doxygen 1.6.0   Back to index