it.unimi.di.mg4j.query
Class GenericItem
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.velocity.tools.view.servlet.VelocityViewServlet
it.unimi.di.mg4j.query.GenericItem
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class GenericItem
- extends VelocityViewServlet
An generic item, displaying all document fields.
This kind of QueryServlet
item will display each field
of a document inside a FIELDSET element. It is mainly useful for debugging purposes.
- See Also:
- Serialized Form
Methods inherited from class org.apache.velocity.tools.view.servlet.VelocityViewServlet |
createContext, doGet, doPost, doRequest, error, findInitParameter, getResponseWriter, getTemplate, getTemplate, getVelocityEngine, getVelocityProperty, init, initToolbox, initVelocity, mergeTemplate, performMerge, requestCleanup, setContentType, setVelocityEngine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericItem
public GenericItem()
loadConfiguration
protected ExtendedProperties loadConfiguration(ServletConfig config)
throws FileNotFoundException,
IOException
- Overrides:
loadConfiguration
in class VelocityViewServlet
- Throws:
FileNotFoundException
IOException
handleRequest
public Template handleRequest(HttpServletRequest request,
HttpServletResponse response,
Context context)
throws Exception
- Overrides:
handleRequest
in class VelocityViewServlet
- Throws:
Exception