@Test void testBuildServiceIRI() { final Config config = new Config(); config.setIsUBLImageService(true); config.setViewId("0000004057"); config.setImageServiceBaseUrl("https: config.setImageServiceImageDirPrefix("/j2k/"); config.setImageServiceFileExtension(".jpx"); final IRIBuilder iriBuilder = new IRIBuilder(config); final String imageServiceContext = iriBuilder.buildImageServiceContext("0000004057"); final String resourceIdString = "00000002"; final IRI serviceIri = iriBuilder.buildServiceIRI(imageServiceContext, resourceIdString); assertNotNull(serviceIri); assertEquals( "https: }
public IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString) { return rdf.createIRI( imageServiceContext + separator + resourceIdString + config.getImageServiceFileExtension()); }
IRIBuilder { public IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString) { return rdf.createIRI( imageServiceContext + separator + resourceIdString + config.getImageServiceFileExtension()); } }
IRIBuilder { public IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString) { return rdf.createIRI( imageServiceContext + separator + resourceIdString + config.getImageServiceFileExtension()); } IRIBuilder(final Config config); private  IRIBuilder(); }
IRIBuilder { public IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString) { return rdf.createIRI( imageServiceContext + separator + resourceIdString + config.getImageServiceFileExtension()); } IRIBuilder(final Config config); private  IRIBuilder(); IRI buildCanvasIRI(final String canvasIdString); IRI buildResourceIRI(final String resourceIdString); IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString); String buildImageServiceContext(final String viewId); String buildCanvasIRIfromPhysical(final String physical); String buildAnnotationId(); }
IRIBuilder { public IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString) { return rdf.createIRI( imageServiceContext + separator + resourceIdString + config.getImageServiceFileExtension()); } IRIBuilder(final Config config); private  IRIBuilder(); IRI buildCanvasIRI(final String canvasIdString); IRI buildResourceIRI(final String resourceIdString); IRI buildServiceIRI(final String imageServiceContext, final String resourceIdString); String buildImageServiceContext(final String viewId); String buildCanvasIRIfromPhysical(final String physical); String buildAnnotationId();  }