Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa.search
Class ResultMatchWalker

java.lang.Object
  extended by ag.ion.noa.search.ResultMatchWalker

public class ResultMatchWalker
extends java.lang.Object

Walker for result matches. The walker will select result matches in a document.


Constructor Summary
ResultMatchWalker(IDocument document, ISearchResult searchResult)
          Constructs new DocumentMatchWalker.
 
Method Summary
 boolean hasNextMatch()
          Returns information whether a next match is available.
 boolean hasPreviousMatch()
          Returns information whether a previous match is available.
 boolean nextMatch()
          Moves to the next match.
 boolean previousMatch()
          Moves to the previous match.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultMatchWalker

public ResultMatchWalker(IDocument document,
                         ISearchResult searchResult)
Constructs new DocumentMatchWalker.

Parameters:
document - document to be used
searchResult - search result to be used
Method Detail

hasNextMatch

public boolean hasNextMatch()
Returns information whether a next match is available.

Returns:
information whether a next match is available

nextMatch

public boolean nextMatch()
Moves to the next match. Returns information whether the move to the next match was successfully.

Returns:
information whether the move to the next match was successfully

hasPreviousMatch

public boolean hasPreviousMatch()
Returns information whether a previous match is available.

Returns:
information whether a previous match is available

previousMatch

public boolean previousMatch()
Moves to the previous match. Returns information whether the move to the previous match was successfully.

Returns:
information whether the move to the previous match was successfully

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013