com.mizar.faces.ajax.servlet
Class MeasureLocationHandler

java.lang.Object
  extended by com.mizar.faces.ajax.servlet.AjaxHandler
      extended by com.mizar.faces.ajax.servlet.AjaxServletHandler
          extended by com.mizar.faces.ajax.servlet.MeasureLocationHandler

public class MeasureLocationHandler
extends AjaxServletHandler

This handler is called by AjaxServlet and returns a location as a geographic (latitude / longitude) coordinate formatted in a <div>.


Constructor Summary
MeasureLocationHandler()
           
MeasureLocationHandler(boolean metric)
           
 
Method Summary
 boolean processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process a request and create a response
 
Methods inherited from class com.mizar.faces.ajax.servlet.AjaxServletHandler
isMetric, setMetric
 
Methods inherited from class com.mizar.faces.ajax.servlet.AjaxHandler
getEm, getLogger, getOrdinates, writeResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasureLocationHandler

public MeasureLocationHandler()

MeasureLocationHandler

public MeasureLocationHandler(boolean metric)
Method Detail

processRequest

public boolean processRequest(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
Description copied from class: AjaxHandler
Process a request and create a response

Specified by:
processRequest in class AjaxHandler
Returns:
true if the request is finished, false if the system should continue