Class ManifestBuilder
java.lang.Object
io.goobi.viewer.model.iiif.presentation.v3.builder.AbstractBuilder
io.goobi.viewer.model.iiif.presentation.v3.builder.ManifestBuilder
ManifestBuilder class.
- Author:
- Florian Alpers
-
Field Summary
Fields inherited from class io.goobi.viewer.model.iiif.presentation.v3.builder.AbstractBuilder
config, dataRetriever, thumbHeight, thumbWidth, urls, v1Builder -
Constructor Summary
ConstructorsConstructorDescriptionManifestBuilder(AbstractApiUrlManager apiUrlManager) Constructor for ManifestBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPage(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, PhysicalElement page) voidaddPage(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, StructElement ele, int pageNo) de.intranda.api.iiif.presentation.v3.IPresentationModelElement3de.intranda.api.iiif.presentation.IPresentationModelElementMethods inherited from class io.goobi.viewer.model.iiif.presentation.v3.builder.AbstractBuilder
absolutize, absolutize, addMetadata, contained, createAnchorLink, createLabel, createRecordLink, escapeURI, getAnnotationListURI, getAnnotationListURI, getAnnotationURI, getAnnotationURI, getAttributions, getAutoCompleteServiceURI, getAutoSuggestURI, getCanvasURI, getCollectionURI, getCommentAnnotationURI, getDescription, getExternalManifestURI, getFilename, getImageAnnotationURI, getLabel, getLabel, getLabelIfExists, getLidoResolverUrl, getLocale, getManifestURI, getMetsResolverUrl, getPageOrderFromCanvasURI, getPIFromCanvasURI, getProvider, getRangeURI, getRequiredStatement, getRightsStatement, getSearchServiceURI, getSearchURI, getSolrFieldValue, getThumbnail, getThumbnail, getThumbnail, getThumbnail, getViewUrl
-
Constructor Details
-
ManifestBuilder
Constructor for ManifestBuilder.
- Parameters:
apiUrlManager-
-
-
Method Details
-
build
public de.intranda.api.iiif.presentation.v3.IPresentationModelElement3 build(String pi, jakarta.servlet.http.HttpServletRequest request) throws PresentationException, IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException, URISyntaxException, DAOException - Parameters:
pi-request-- Returns:
IPresentationModelElement3- Throws:
PresentationExceptionIndexUnreachableExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentLibExceptionURISyntaxExceptionDAOExceptionViewerConfigurationException
-
build
public de.intranda.api.iiif.presentation.IPresentationModelElement build(String pi, Integer pageNo, jakarta.servlet.http.HttpServletRequest servletRequest) throws PresentationException, IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException, URISyntaxException, DAOException - Throws:
PresentationExceptionIndexUnreachableExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentLibExceptionURISyntaxExceptionDAOException
-
addPage
public void addPage(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, StructElement ele, int pageNo) throws IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException, URISyntaxException, PresentationException, DAOException - Throws:
IndexUnreachableExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentLibExceptionURISyntaxExceptionPresentationExceptionDAOException
-
addPage
public void addPage(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, PhysicalElement page) throws IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException, URISyntaxException, PresentationException, DAOException - Throws:
IndexUnreachableExceptionde.unigoettingen.sub.commons.contentlib.exceptions.ContentLibExceptionURISyntaxExceptionPresentationExceptionDAOException
-