org.eaglei.repository.servlet
Class GetStatements

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.eaglei.repository.servlet.RepositoryServlet
              extended by org.eaglei.repository.servlet.GetStatements
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class GetStatements
extends RepositoryServlet

Internal Admin-Only servlet to list statements -- used mainly to locate the context (named graph) of a statement. Usage: supply either a value (URI, object may be literal) or null for each arg: subject, predicate, object Optional format arg is MIME type like the other servlets. Prints a tabular query result of all matching statements. This service is no longer necessary now that Datasets are structured so that the GRAPH keyword works in SPARQL tuple queries to bind a named graph. There is still no way to get graphs out of CONSTRUCT queries, however.

Version:
$Id: $
Author:
Larry Stone
See Also:
Serialized Form

Constructor Summary
GetStatements()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          
 
Methods inherited from class org.eaglei.repository.servlet.RepositoryServlet
service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetStatements

public GetStatements()
Method Detail

doPost

protected void doPost(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException,
                      java.io.IOException

Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException

Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2009-2010 Eagle-I. All Rights Reserved.