public class ValidateWS extends RDFUnitWebService
ValidateWS class.
| Constructor and Description |
|---|
ValidateWS() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected RDFUnitConfiguration |
getConfiguration(javax.servlet.http.HttpServletRequest httpServletRequest)
Creates an RDFUnitConfiguration based on the GET/POST parameters
|
protected TestSuite |
getTestSuite(RDFUnitConfiguration configuration,
TestSource dataset)
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 dataset,
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 TestSuite getTestSuite(RDFUnitConfiguration configuration, TestSource dataset)
getTestSuite in class RDFUnitWebServiceconfiguration - an RDFUnitConfiguration object generated with getConfigurationdataset - The dataset to be tested, this is generated automatically from the RDFUnitConfiguration objectprotected com.hp.hpl.jena.rdf.model.Model validate(RDFUnitConfiguration configuration, TestSource dataset, TestSuite testSuite) throws TestCaseExecutionException
validate in class RDFUnitWebServiceconfiguration - an RDFUnitConfiguration object generated with getConfigurationdataset - The dataset to be tested, this is generated automatically from the RDFUnitConfiguration objecttestSuite - a TestSuite generated with getTestSuite()TestCaseExecutionException - if any.protected RDFUnitConfiguration getConfiguration(javax.servlet.http.HttpServletRequest httpServletRequest) throws ParameterException
getConfiguration in class RDFUnitWebServicehttpServletRequest - the HttpServletRequestParameterException - if any.protected void printHelpMessage(javax.servlet.http.HttpServletResponse httpServletResponse)
throws IOException
printHelpMessage in class RDFUnitWebServicehttpServletResponse - a HttpServletResponse object.IOException - if any.public void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletCopyright © 2015. All rights reserved.