public class DataIDWS extends RDFUnitWebService
DataIDWS class.
| Constructor and Description |
|---|
DataIDWS() |
| Modifier and Type | Method and Description |
|---|---|
protected RDFUnitConfiguration |
getConfiguration(javax.servlet.http.HttpServletRequest httpServletRequest)
Creates an RDFUnitConfiguration based on the GET/POST parameters
|
protected TestSuite |
getTestSuite(RDFUnitConfiguration configuration,
TestSource testSource)
Creates a TestSuite based on the RDFUnitConfiguration and the Source to be tested
|
void |
init() |
protected void |
printHelpMessage(javax.servlet.http.HttpServletResponse httpServletResponse)
Prints a help message with the correct arguments one can use to call the service
|
protected com.hp.hpl.jena.rdf.model.Model |
validate(RDFUnitConfiguration configuration,
TestSource testSource,
TestSuite testSuite)
Executes the validation of a Sourse dataset against a TestSuite based on a RDFUnitConfiguration
|
doGet, doPost, printMessagedoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init()
throws javax.servlet.ServletException
init in class RDFUnitWebServicejavax.servlet.ServletExceptionprotected RDFUnitConfiguration getConfiguration(javax.servlet.http.HttpServletRequest httpServletRequest) throws ParameterException
getConfiguration in class RDFUnitWebServicehttpServletRequest - the HttpServletRequestParameterException - if any.protected TestSuite getTestSuite(RDFUnitConfiguration configuration, TestSource testSource)
getTestSuite in class RDFUnitWebServiceconfiguration - an RDFUnitConfiguration object generated with getConfigurationtestSource - The dataset to be tested, this is generated automatically from the RDFUnitConfiguration objectprotected com.hp.hpl.jena.rdf.model.Model validate(RDFUnitConfiguration configuration, TestSource testSource, TestSuite testSuite) throws TestCaseExecutionException
validate in class RDFUnitWebServiceconfiguration - an RDFUnitConfiguration object generated with getConfigurationtestSource - The dataset to be tested, this is generated automatically from the RDFUnitConfiguration objecttestSuite - a TestSuite generated with getTestSuite()TestCaseExecutionException - if any.protected void printHelpMessage(javax.servlet.http.HttpServletResponse httpServletResponse)
throws IOException
printHelpMessage in class RDFUnitWebServicehttpServletResponse - a HttpServletResponse object.IOException - if any.Copyright © 2015. All rights reserved.