com.facetmap.servlet
Class BrowseXmlServlet

java.lang.Object
  extended by HttpServlet
      extended by com.facetmap.servlet.BrowseXmlServlet

public class BrowseXmlServlet
extends HttpServlet

Writes a Selection in XML format to the HTTP response. This servlet reads the standard com.facetmap.servlet querystring parameters; see package docs for details. TODO move non-xml mgmt stuff into broader framework


Field Summary
protected  FacetmapServlet facetmapServlet
           
protected  java.lang.String facetmapServletName
           
protected  ServletUtil processor
           
 
Constructor Summary
BrowseXmlServlet()
           
 
Method Summary
 void doGet(HttpServletRequest req, HttpServletResponse resp)
           
 void doPost(HttpServletRequest req, HttpServletResponse resp)
           
 void init()
           
 void setFacetmapServletByName(java.lang.String facetmapServletName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

facetmapServletName

protected java.lang.String facetmapServletName

facetmapServlet

protected FacetmapServlet facetmapServlet

processor

protected ServletUtil processor
Constructor Detail

BrowseXmlServlet

public BrowseXmlServlet()
Method Detail

init

public void init()
          throws ServletException
Throws:
ServletException

setFacetmapServletByName

public void setFacetmapServletByName(java.lang.String facetmapServletName)

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse resp)
           throws java.io.IOException
Throws:
java.io.IOException

doPost

public void doPost(HttpServletRequest req,
                   HttpServletResponse resp)
            throws java.io.IOException
Throws:
java.io.IOException