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

Object org::jdom::ContentList::get ( int  index  )  [inline]

Return the object at the specified offset.

index The offset of the object.
The Object which was returned.

Definition at line 384 of file ContentList.java.

References elementData, and size().

Referenced by org::jdom::Element::clone(), org::jdom::Document::clone(), org::jdom::Element::getContent(), org::jdom::Document::getContent(), org::jdom::Document::getDocType(), org::jdom::Document::getRootElement(), and org::jdom::Element::getText().

        if (index<0 || index>=size) {
            throw new IndexOutOfBoundsException("Index: " + index +
                                                " Size: " + size());
        return elementData[index];

Generated by  Doxygen 1.6.0   Back to index