Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/eireneh/bible/control/search/words/PassageRightParamWord.java


1   
2   package com.eireneh.bible.control.search.words;
3   
4   import java.util.Enumeration;
5   
6   import com.eireneh.bible.passage.*;
7   import com.eireneh.bible.control.search.*;
8   
9   /**
10  * The end of an escape to specify a passage directly. 
11  * 
12  * <table border='1' cellPadding='3' cellSpacing='0' width="100%">
13  * <tr><td bgColor='white'class='TableRowColor'><font size='-7'>
14  * Distribution Licence:<br />
15  * Project B is free software; you can redistribute it
16  * and/or modify it under the terms of the GNU General Public License,
17  * version 2 as published by the Free Software Foundation.<br />
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  * General Public License for more details.<br />
22  * The License is available on the internet
23  * <a href='http://www.gnu.org/copyleft/gpl.html'>here</a>, by writing to
24  * <i>Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25  * MA 02111-1307, USA</i>, Or locally at the Licence link below.<br />
26  * The copyright to this program is held by it's authors.
27  * </font></td></tr></table>
28  * @see <a href='http://www.eireneh.com/servlets/Web'>Project B Home</a>
29  * @see docs.Licence
30  * @author Joe Walker
31  */
32  public class PassageRightParamWord implements ParamWord
33  {
34      /**
35      * Get a word for something else to word on.
36      * @param engine The controller that can provide access to the search
37      *               string or a default Bible.
38      * @return The requested text
39      * @exception SearchException If this action is not appropriate
40      */
41      public String getWord(Engine engine) throws SearchException
42      {
43          throw new SearchException("search_right_param");
44      }
45  
46      /**
47      * Get a Passage for something else to word on.
48      * @param engine The controller that can provide access to the search
49      *               string or a default Bible.
50      * @return A Passage relevant to this command
51      * @exception SearchException If this action is not appropriate
52      */
53      public Passage getPassage(Engine engine) throws SearchException
54      {
55          throw new SearchException("search_right_brackets");
56      }
57  }