org.joseki.server.processors
Class QueryProcessorGET

java.lang.Object
  extended byorg.joseki.server.processors.QueryProcessorCom
      extended byorg.joseki.server.processors.QueryProcessorGET
All Implemented Interfaces:
Loadable, Processor, QueryProcessor

public class QueryProcessorGET
extends QueryProcessorCom

Query processor that returns the whole model.

Version:
$Id: QueryProcessorGET.java,v 1.7 2004/04/30 14:13:11 andy_seaborne Exp $
Author:
Andy Seaborne

Field Summary
 
Fields inherited from interface org.joseki.server.Processor
ARGS_ONE, ARGS_ZERO, ARGS_ZERO_OR_ONE
 
Constructor Summary
QueryProcessorGET()
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Model execQuery(ModelSource aModel, com.hp.hpl.jena.rdf.model.Model queryModel, Request request)
           
 com.hp.hpl.jena.rdf.model.Model execQuery(ModelSource src, java.lang.String queryString, Request request)
          Query processors supply this, rather than the exec method.
 java.lang.String getInterfaceURI()
          The URI for this loadable class.
 
Methods inherited from class org.joseki.server.processors.QueryProcessorCom
argsNeeded, exec, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryProcessorGET

public QueryProcessorGET()
Method Detail

getInterfaceURI

public java.lang.String getInterfaceURI()
Description copied from interface: Loadable
The URI for this loadable class. Must agree with the URI specified on loading (if any).


execQuery

public com.hp.hpl.jena.rdf.model.Model execQuery(ModelSource src,
                                                 java.lang.String queryString,
                                                 Request request)
                                          throws com.hp.hpl.jena.rdf.model.RDFException,
                                                 QueryExecutionException
Description copied from class: QueryProcessorCom
Query processors supply this, rather than the exec method. The queryString may be null (no string supplied).

Specified by:
execQuery in interface QueryProcessor
Specified by:
execQuery in class QueryProcessorCom
Throws:
com.hp.hpl.jena.rdf.model.RDFException
QueryExecutionException

execQuery

public com.hp.hpl.jena.rdf.model.Model execQuery(ModelSource aModel,
                                                 com.hp.hpl.jena.rdf.model.Model queryModel,
                                                 Request request)
                                          throws com.hp.hpl.jena.rdf.model.RDFException,
                                                 QueryExecutionException
Specified by:
execQuery in interface QueryProcessor
Specified by:
execQuery in class QueryProcessorCom
Throws:
com.hp.hpl.jena.rdf.model.RDFException
QueryExecutionException


Copyright © 2002 Hewlett-Packard. All Rights Reserved.