| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectFreeCBR.WebResult
public class WebResult
This class contains results from CBR web queries. WebResult.result.length 
        tells the number of result cases of the search. Typically the 
        following loops through all results:
        WebResult wr = cbr.search(req);
        for (int i = 0; i < wr.result.length; i++)
        {
                System.out.println(wr.result[i].toString());
        }
| Field Summary | |
|---|---|
static java.lang.String | 
FEATURE_PREFIX
The feature search string prefix  | 
static java.lang.String | 
OPTION_PREFIX
The search distance string prefix  | 
 CBRResult[] | 
result
The result of the search  | 
static java.lang.String | 
SCALE_PREFIX
The search scale string prefix  | 
 int[] | 
searchOptions
The distances of the search  | 
 int[] | 
searchScales
The scale of the search  | 
 int[] | 
searchTerms
The types of the search  | 
 Feature[] | 
searchValues
The searched values (in String format)  | 
 int[] | 
searchWeights
The searched weights  | 
static java.lang.String | 
TERM_PREFIX
The search type string prefix  | 
static java.lang.String | 
WEIGHT_PREFIX
The search weight string prefix  | 
| Constructor Summary | |
|---|---|
WebResult(CBR cbr,
          java.lang.Object req)
Creates a Result and initiates it  | 
|
| Method Summary | 
|---|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public CBRResult[] result
public Feature[] searchValues
public int[] searchWeights
public int[] searchTerms
public int[] searchScales
public int[] searchOptions
public static final java.lang.String FEATURE_PREFIX
public static final java.lang.String WEIGHT_PREFIX
public static final java.lang.String TERM_PREFIX
public static final java.lang.String SCALE_PREFIX
public static final java.lang.String OPTION_PREFIX
| Constructor Detail | 
|---|
public WebResult(CBR cbr,
                 java.lang.Object req)
          throws java.lang.Exception
cbr - the CBR that contains the data and can perform the actual searchreq - the query in web style. MultiString values may use 
                        feati=A&feati=B... or
                        feati=A;B....
java.lang.Exception
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||