Package com.ribs.datasource
Class RMDataSourceGoogle
java.lang.Object
com.ribs.datasource.RMDataSource
com.ribs.datasource.RMDataSourceGoogle
This datasource provides data in the form of a search result from Google Search.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromXML
(RXArchiver anArchiver, RXElement anElement) XML unarchival.Returns the dataset.int
Returns the fetch limit.Returns the search schema.Returns the search string.void
setFetchLimit
(int aLimit) Sets the fetch limit.void
Sets the search string.toXML
(RXArchiver anArchiver) XML archival.Methods inherited from class com.ribs.datasource.RMDataSource
getEntity, getError, getName, getRelation, setName, toString
-
Constructor Details
-
RMDataSourceGoogle
public RMDataSourceGoogle()
-
-
Method Details
-
getSearch
Returns the search string. -
setSearch
Sets the search string. -
getFetchLimit
public int getFetchLimit()Returns the fetch limit. -
setFetchLimit
public void setFetchLimit(int aLimit) Sets the fetch limit. -
getSchema
Returns the search schema.- Overrides:
getSchema
in classRMDataSource
-
getDataset
Returns the dataset.- Overrides:
getDataset
in classRMDataSource
-
toXML
XML archival.- Overrides:
toXML
in classRMDataSource
-
fromXML
XML unarchival.- Overrides:
fromXML
in classRMDataSource
-