|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.xml.library.yahoo.Result
public class Result
Result from a Yahoo Search. This implementation has fields for "web search" and "image search". I expect other fields will get added for other types of search.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ecologylab.xml.ElementState |
|---|
ElementState.ClassToCollectionMap, ElementState.DeclarationStyle, ElementState.xml_attribute, ElementState.xml_class, ElementState.xml_classes, ElementState.xml_collection, ElementState.xml_leaf, ElementState.xml_map, ElementState.xml_nested, ElementState.xml_tag |
| Field Summary | |
|---|---|
java.lang.String |
FileFormat
For image search only. |
int |
FileSize
Another field for image search only. |
int |
Height
|
java.lang.String |
MimeType
For web search only. |
java.lang.String |
NewsSource
Specific to news search. |
ParsedURL |
RefererUrl
For image search, this is the Container web page! |
java.lang.String |
Summary
|
ThumbnailState |
Thumbnail
Cool! For image search, direct access to their thumbnail image. |
java.lang.String |
Title
|
ParsedURL |
Url
For web search, the URL of the document. |
int |
Width
|
| Fields inherited from class ecologylab.xml.ElementState |
|---|
CDATA, ESTIMATE_CHARS_PER_FIELD, FLOATING_PRECISION_OFF, MARSHALLING_PARAMS, NORMAL, UTF16, UTF16_LE, UTF8, XML_FILE_HEADER |
| Fields inherited from interface ecologylab.xml.XMLTranslationExceptionTypes |
|---|
FILE_NOT_FOUND, IO_EXCEPTION, NULL_PURL, UNKNOWN |
| Constructor Summary | |
|---|---|
Result()
|
|
| Method Summary | |
|---|---|
protected java.lang.String[] |
leafElementFieldNames()
The array of Strings with the names of the leaf elements. |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String Title
public java.lang.String Summary
public ParsedURL Url
public ParsedURL RefererUrl
public int FileSize
public int Width
public int Height
public java.lang.String FileFormat
public java.lang.String NewsSource
public java.lang.String MimeType
public ThumbnailState Thumbnail
| Constructor Detail |
|---|
public Result()
| Method Detail |
|---|
protected java.lang.String[] leafElementFieldNames()
leafElementFieldNames in class ElementState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||