JAVA/CORBA CLASSES


getNextSibling method
Example

Given a document in a view, returns the document immediately following it at the same level. If you send the method a main document, the next main document in the view is returned. If you send a response document, the next response document with the same parent is returned.

If the view is categorized, the next sibling is in the same category as the original document.

Defined in

View

Syntax

public Document getNextSibling(Document doc)
   throws NotesException

Parameters

Document doc


Return value

Document


Usage

You can use getNextSibling to:


If you filtered the view with FTSearch, getNextSibling returns the next document in the view, regardless of level.

Siblings

Two documents are siblings if:


The last sibling

This method returns null when the parameter is:


Language cross-reference

GetNextSibling method in LotusScript NotesView class

Example
See Also