com.mizar.faces.ajax.servlet
Class MeasureAreaHandler

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.MeasureAreaHandler

public class MeasureAreaHandler
extends AjaxServletHandler

This handler is called by AjaxServlet and returns a measured area in metric or US/Imperial as appropriate for the provided SRID formatted in a <div>.


Constructor Summary
MeasureAreaHandler()
           
MeasureAreaHandler(boolean metric)
           
 
Method Summary
 org.apache.commons.logging.Log getLogger()
           
 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, getOrdinates, writeResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasureAreaHandler

public MeasureAreaHandler()

MeasureAreaHandler

public MeasureAreaHandler(boolean metric)
Method Detail

getLogger

public org.apache.commons.logging.Log getLogger()
Overrides:
getLogger in class AjaxHandler

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