Esri Geoportal Server
1.2.9

com.esri.gpt.control.georss
Class AFeedWriter2

java.lang.Object
  extended by com.esri.gpt.control.georss.AFeedWriter2
All Implemented Interfaces:
FeedWriter, FeedWriter2
Direct Known Subclasses:
CsvWriter

public abstract class AFeedWriter2
extends Object
implements FeedWriter2

The Class FeedWriter2.


Constructor Summary
AFeedWriter2()
           
 
Method Summary
 Map<String,String> getConfigParameters()
          Gets the config parameters.
 RequestContext getContext()
          Gets the context.
 MessageBroker getMessageBroker()
          Gets the message broker.
 RestQuery getQuery()
          Gets the query.
 HttpServletRequest getRequest()
          Gets the request.
 HttpServletResponse getResponse()
          Gets the response.
 void setConfigParameters(Map<String,String> configParameters)
          Sets the config parameters.
 void setContext(RequestContext context)
          Sets the context.
 void setMessageBroker(MessageBroker messageBroker)
          Sets the message broker.
 void setQuery(RestQuery query)
          Sets the query.
 void setRequest(HttpServletRequest request)
          Sets the request.
 void setResponse(HttpServletResponse response)
          Sets the response.
 void write(SearchResult result)
          Write the search result.
abstract  void writeError(Throwable err)
          Write error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.gpt.control.georss.FeedWriter
write
 

Constructor Detail

AFeedWriter2

public AFeedWriter2()
Method Detail

getMessageBroker

public MessageBroker getMessageBroker()
Gets the message broker.

Specified by:
getMessageBroker in interface FeedWriter2
Returns:
the message broker

setMessageBroker

public void setMessageBroker(MessageBroker messageBroker)
Sets the message broker.

Specified by:
setMessageBroker in interface FeedWriter2
Parameters:
messageBroker - the new message broker

getQuery

public RestQuery getQuery()
Gets the query.

Specified by:
getQuery in interface FeedWriter2
Returns:
the query

setQuery

public void setQuery(RestQuery query)
Sets the query.

Specified by:
setQuery in interface FeedWriter2
Parameters:
query - the new query

getResponse

public HttpServletResponse getResponse()
Gets the response.

Specified by:
getResponse in interface FeedWriter2
Returns:
the response

setResponse

public void setResponse(HttpServletResponse response)
Sets the response.

Specified by:
setResponse in interface FeedWriter2
Parameters:
response - the new response

getRequest

public HttpServletRequest getRequest()
Gets the request.

Specified by:
getRequest in interface FeedWriter2
Returns:
the request

setRequest

public void setRequest(HttpServletRequest request)
Sets the request.

Specified by:
setRequest in interface FeedWriter2
Parameters:
request - the new request

getContext

public RequestContext getContext()
Gets the context.

Specified by:
getContext in interface FeedWriter2
Returns:
the context

setContext

public void setContext(RequestContext context)
Sets the context.

Specified by:
setContext in interface FeedWriter2
Parameters:
context - the new context

writeError

public abstract void writeError(Throwable err)
Write error.

Specified by:
writeError in interface FeedWriter2
Parameters:
err - the err

write

public void write(SearchResult result)
Write the search result.

Specified by:
write in interface FeedWriter2
Parameters:
result - the result

getConfigParameters

public Map<String,String> getConfigParameters()
Gets the config parameters.

Specified by:
getConfigParameters in interface FeedWriter2
Returns:
the config parameters

setConfigParameters

public void setConfigParameters(Map<String,String> configParameters)
Sets the config parameters.

Specified by:
setConfigParameters in interface FeedWriter2
Parameters:
configParameters - the config parameters

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.