Package com.wolfram.alpha.impl
Class WAQueryParametersImpl
java.lang.Object
com.wolfram.alpha.impl.WAQueryParametersImpl
- All Implemented Interfaces:
WAQueryParameters,Serializable
- Direct Known Subclasses:
WAEngine,WAQueryImpl
- See Also:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Booleanprotected Stringprotected doubleprotected Stringprotected Stringprotected doubleprotected booleanprotected Stringprotected Stringprotected Doubleprotected Stringprotected Doubleprotected doubleprotected intprotected Booleanprotected intprotected List<WAPodState>protected doubleprotected doubleprotected Stringprotected int -
Constructor Summary
ConstructorsConstructorDescriptionConstructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssumption(String assumption)voidaddExcludePodID(String podid)voidvoidaddIncludePodID(String podid)voidaddPodIndex(int podindex)voidaddPodScanner(String podscanner)voidaddPodState(WAPodState podstate)voidaddPodState(String podstate)voidaddPodState(String podstate, long id)voidaddPodTitle(String podtitle)voidvoidvoidvoidvoidvoidvoidvoidfillFromURL(String url)String[]doublegetAsync()String[]String[]doubleString[]getInput()MethodsgetIP()double[]doubleintintint[]String[]doubleString[]doubleintgetWidth()isMetric()booleanbooleanvoidsetAllowTranslation(Boolean allow)voidsetAsync(double async)voidsetCountryCode(String code)voidsetCurrency(String currency)voidsetFormatTimeout(double timeout)voidvoidvoidsetLatitude(double latitude)voidsetLatLong(String latlong)voidsetLocation(String loc)voidsetLongitude(double longitude)voidsetMagnification(double mag)voidsetMaxWidth(int width)voidvoidsetPlotWidth(int width)voidsetPodTimeout(double timeout)voidsetReinterpret(boolean allowReinterpret)voidsetRelatedLinks(boolean include)voidsetScanTimeout(double timeout)voidsetSignature(String sig)voidsetWidth(int width)
-
Field Details
-
input
-
appid
-
formats
-
async
protected double async -
scanTimeout
protected double scanTimeout -
podTimeout
protected double podTimeout -
formatTimeout
protected double formatTimeout -
width
protected int width -
maxWidth
protected int maxWidth -
plotWidth
protected int plotWidth -
magnification
protected double magnification -
ip
-
location
-
latitude
-
longitude
-
metric
-
currency
-
countryCode
-
allowTranslation
-
includeRelatedLinks
protected boolean includeRelatedLinks -
allowReinterpret
protected boolean allowReinterpret -
signature
-
extraParams
-
podTitles
-
podScanners
-
podIndices
-
includePodIDs
-
excludePodIDs
-
podStates
-
assumptions
-
-
Constructor Details
-
WAQueryParametersImpl
public WAQueryParametersImpl()Constructor -
WAQueryParametersImpl
-
-
Method Details
-
getInput
Methods- Specified by:
getInputin interfaceWAQueryParameters
-
setInput
- Specified by:
setInputin interfaceWAQueryParameters
-
getFormats
- Specified by:
getFormatsin interfaceWAQueryParameters
-
addFormat
- Specified by:
addFormatin interfaceWAQueryParameters
-
getScanTimeout
public double getScanTimeout()- Specified by:
getScanTimeoutin interfaceWAQueryParameters
-
setScanTimeout
public void setScanTimeout(double timeout)- Specified by:
setScanTimeoutin interfaceWAQueryParameters
-
getPodTimeout
public double getPodTimeout()- Specified by:
getPodTimeoutin interfaceWAQueryParameters
-
setPodTimeout
public void setPodTimeout(double timeout)- Specified by:
setPodTimeoutin interfaceWAQueryParameters
-
getFormatTimeout
public double getFormatTimeout()- Specified by:
getFormatTimeoutin interfaceWAQueryParameters
-
setFormatTimeout
public void setFormatTimeout(double timeout)- Specified by:
setFormatTimeoutin interfaceWAQueryParameters
-
getAsync
public double getAsync()- Specified by:
getAsyncin interfaceWAQueryParameters
-
setAsync
public void setAsync(double async)- Specified by:
setAsyncin interfaceWAQueryParameters
-
getIP
- Specified by:
getIPin interfaceWAQueryParameters
-
setIP
- Specified by:
setIPin interfaceWAQueryParameters
-
getLatLong
public double[] getLatLong()- Specified by:
getLatLongin interfaceWAQueryParameters
-
setLatLong
- Specified by:
setLatLongin interfaceWAQueryParameters- Throws:
IllegalArgumentException
-
setLatitude
public void setLatitude(double latitude)- Specified by:
setLatitudein interfaceWAQueryParameters
-
setLongitude
public void setLongitude(double longitude)- Specified by:
setLongitudein interfaceWAQueryParameters
-
getLocation
- Specified by:
getLocationin interfaceWAQueryParameters
-
setLocation
- Specified by:
setLocationin interfaceWAQueryParameters
-
isMetric
- Specified by:
isMetricin interfaceWAQueryParameters
-
setMetric
- Specified by:
setMetricin interfaceWAQueryParameters
-
getCurrency
- Specified by:
getCurrencyin interfaceWAQueryParameters
-
setCurrency
- Specified by:
setCurrencyin interfaceWAQueryParameters
-
getCountryCode
- Specified by:
getCountryCodein interfaceWAQueryParameters
-
setCountryCode
- Specified by:
setCountryCodein interfaceWAQueryParameters
-
isAllowTranslation
- Specified by:
isAllowTranslationin interfaceWAQueryParameters
-
setAllowTranslation
- Specified by:
setAllowTranslationin interfaceWAQueryParameters
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceWAQueryParameters
-
setWidth
public void setWidth(int width)- Specified by:
setWidthin interfaceWAQueryParameters
-
getMaxWidth
public int getMaxWidth()- Specified by:
getMaxWidthin interfaceWAQueryParameters
-
setMaxWidth
public void setMaxWidth(int width)- Specified by:
setMaxWidthin interfaceWAQueryParameters
-
getPlotWidth
public int getPlotWidth()- Specified by:
getPlotWidthin interfaceWAQueryParameters
-
setPlotWidth
public void setPlotWidth(int width)- Specified by:
setPlotWidthin interfaceWAQueryParameters
-
getMagnification
public double getMagnification()- Specified by:
getMagnificationin interfaceWAQueryParameters
-
setMagnification
public void setMagnification(double mag)- Specified by:
setMagnificationin interfaceWAQueryParameters
-
getPodTitles
- Specified by:
getPodTitlesin interfaceWAQueryParameters
-
addPodTitle
- Specified by:
addPodTitlein interfaceWAQueryParameters
-
clearPodTitles
public void clearPodTitles()- Specified by:
clearPodTitlesin interfaceWAQueryParameters
-
getPodIndexes
public int[] getPodIndexes()- Specified by:
getPodIndexesin interfaceWAQueryParameters
-
addPodIndex
public void addPodIndex(int podindex)- Specified by:
addPodIndexin interfaceWAQueryParameters
-
clearPodIndexes
public void clearPodIndexes()- Specified by:
clearPodIndexesin interfaceWAQueryParameters
-
getPodScanners
- Specified by:
getPodScannersin interfaceWAQueryParameters
-
addPodScanner
- Specified by:
addPodScannerin interfaceWAQueryParameters
-
clearPodScanners
public void clearPodScanners()- Specified by:
clearPodScannersin interfaceWAQueryParameters
-
getIncludePodIDs
- Specified by:
getIncludePodIDsin interfaceWAQueryParameters
-
addIncludePodID
- Specified by:
addIncludePodIDin interfaceWAQueryParameters
-
clearIncludePodIDs
public void clearIncludePodIDs()- Specified by:
clearIncludePodIDsin interfaceWAQueryParameters
-
getExcludePodIDs
- Specified by:
getExcludePodIDsin interfaceWAQueryParameters
-
addExcludePodID
- Specified by:
addExcludePodIDin interfaceWAQueryParameters
-
clearExcludePodIDs
public void clearExcludePodIDs()- Specified by:
clearExcludePodIDsin interfaceWAQueryParameters
-
getPodStates
- Specified by:
getPodStatesin interfaceWAQueryParameters
-
addPodState
- Specified by:
addPodStatein interfaceWAQueryParameters
-
addPodState
- Specified by:
addPodStatein interfaceWAQueryParameters
-
addPodState
- Specified by:
addPodStatein interfaceWAQueryParameters
-
clearPodStates
public void clearPodStates()- Specified by:
clearPodStatesin interfaceWAQueryParameters
-
getAssumptions
- Specified by:
getAssumptionsin interfaceWAQueryParameters
-
addAssumption
- Specified by:
addAssumptionin interfaceWAQueryParameters
-
clearAssumptions
public void clearAssumptions()- Specified by:
clearAssumptionsin interfaceWAQueryParameters
-
setRelatedLinks
public void setRelatedLinks(boolean include)- Specified by:
setRelatedLinksin interfaceWAQueryParameters
-
isRelatedLinks
public boolean isRelatedLinks()- Specified by:
isRelatedLinksin interfaceWAQueryParameters
-
setReinterpret
public void setReinterpret(boolean allowReinterpret)- Specified by:
setReinterpretin interfaceWAQueryParameters
-
isReinterpret
public boolean isReinterpret()- Specified by:
isReinterpretin interfaceWAQueryParameters
-
setSignature
- Specified by:
setSignaturein interfaceWAQueryParameters
-
getExtraParams
- Specified by:
getExtraParamsin interfaceWAQueryParameters
-
getParameters
- Specified by:
getParametersin interfaceWAQueryParameters
-
fillFromURL
- Specified by:
fillFromURLin interfaceWAQueryParameters
-
toWebsiteURL
- Specified by:
toWebsiteURLin interfaceWAQueryParameters
-