com.yahoo.search
Class ContentAnalysisRequest

java.lang.Object
  extended by com.yahoo.rest.RestRequest
      extended by com.yahoo.search.ContentAnalysisRequest

public class ContentAnalysisRequest
extends RestRequest

Content analyis request.

Author:
Ryan Kennedy

Constructor Summary
ContentAnalysisRequest(String context)
          Constructs a new content analysis request.
 
Method Summary
 void setContext(String context)
          The context to extract terms from.
 void setQuery(String query)
          An optional query to help with the extraction process.
 
Methods inherited from class com.yahoo.rest.RestRequest
addParameter, clearParameter, getParameters, getRequestUrl, setParameter, setRequestUrl
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentAnalysisRequest

public ContentAnalysisRequest(String context)
Constructs a new content analysis request.

Parameters:
context - The context to extract terms from.
Method Detail

setContext

public void setContext(String context)
The context to extract terms from.

Parameters:
context - The context to extract terms from.

setQuery

public void setQuery(String query)
An optional query to help with the extraction process.

Parameters:
query - An optional query to help with the extraction process.