Class ValidationService

java.lang.Object
org.openprovenance.prov.service.validation.ValidationService
All Implemented Interfaces:
org.openprovenance.prov.model.interop.InteropMediaType, Constants, SwaggerTags

@Path("") public class ValidationService extends Object implements Constants, org.openprovenance.prov.model.interop.InteropMediaType, SwaggerTags
  • Field Details

    • IMAGE_PNG_TYPE

      public static final jakarta.ws.rs.core.MediaType IMAGE_PNG_TYPE
    • VS

      public static String VS
    • VS_PREFIX

      public static String VS_PREFIX
    • VSI

      public static String VSI
    • VSI_PREFIX

      public static String VSI_PREFIX
  • Constructor Details

  • Method Details

    • getNormalized

      @GET @Path("/documents/{docId}/validation/normalForm") public jakarta.ws.rs.core.Response getNormalized(@Context jakarta.servlet.http.HttpServletResponse response, @Context jakarta.ws.rs.core.Request request, @PathParam("docId") String msg, @HeaderParam("Accept") String accept)
    • getNormalFormAsType

      @GET @Path("/documents/{docId}/validation/normalForm.{type}") public jakarta.ws.rs.core.Response getNormalFormAsType(@Context jakarta.servlet.http.HttpServletResponse response, @Context jakarta.servlet.http.HttpServletRequest request, @PathParam("docId") String msg, @PathParam("type") String type) throws FileNotFoundException, IOException, jakarta.servlet.ServletException
      Throws:
      FileNotFoundException
      IOException
      jakarta.servlet.ServletException
    • getValidationReport

      @GET @Path("/documents/{docId}/validation/report") public jakarta.ws.rs.core.Response getValidationReport(@Context jakarta.servlet.http.HttpServletResponse response, @Context jakarta.ws.rs.core.Request request, @PathParam("docId") String msg, @HeaderParam("Accept") String accept)
    • getValidationReportAsJson

      @GET @Path("/documents/{docId}/validation/report.json") @Produces("application/json") public jakarta.ws.rs.core.Response getValidationReportAsJson(@PathParam("docId") String msg)
    • stackTraceToString

      public String stackTraceToString(Throwable thrown)
    • getMatrix

      @GET @Path("/documents/{docId}/validation/matrix") public jakarta.ws.rs.core.Response getMatrix(@Context jakarta.servlet.http.HttpServletResponse response, @Context jakarta.ws.rs.core.Request request, @PathParam("docId") String msg, @HeaderParam("Accept") String accept)
    • getMatrixAsText

      @GET @Path("/documents/{docId}/validation/matrix.txt") @Produces("text/plain") public jakarta.ws.rs.core.Response getMatrixAsText(@PathParam("docId") String msg) throws IOException
      Throws:
      IOException
    • getMatrixAsPng

      @GET @Path("/documents/{docId}/validation/matrix.png") @Produces("image/png") public jakarta.ws.rs.core.Response getMatrixAsPng(@PathParam("docId") String msg) throws IOException
      Throws:
      IOException