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
ConstructorDescriptionManifestBuilder
(AbstractApiUrlManager apiUrlManager) Constructor for ManifestBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPage
(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, PhysicalElement page) void
addPage
(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, StructElement ele, int pageNo) de.intranda.api.iiif.presentation.IPresentationModelElement
de.intranda.api.iiif.presentation.v3.IPresentationModelElement3
Methods inherited from class io.goobi.viewer.model.iiif.presentation.v3.builder.AbstractBuilder
absolutize, absolutize, addMetadata, contained, createAnchorLink, createLabel, createRecordLink, 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, getViewUrl
-
Constructor Details
-
ManifestBuilder
Constructor for ManifestBuilder.
- Parameters:
apiUrlManager
-
-
-
Method Details
-
build
public de.intranda.api.iiif.presentation.v3.IPresentationModelElement3 build(String pi, javax.servlet.http.HttpServletRequest request) throws PresentationException, IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException, URISyntaxException, DAOException - Parameters:
pi
-request
-- Returns:
IPresentationModelElement3
- Throws:
PresentationException
IndexUnreachableException
de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
URISyntaxException
DAOException
ViewerConfigurationException
-
build
public de.intranda.api.iiif.presentation.IPresentationModelElement build(String pi, Integer pageNo, javax.servlet.http.HttpServletRequest servletRequest) throws PresentationException, IndexUnreachableException, de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException, URISyntaxException, DAOException - Throws:
PresentationException
IndexUnreachableException
de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
URISyntaxException
DAOException
-
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:
IndexUnreachableException
de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
URISyntaxException
PresentationException
DAOException
-
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 - Throws:
IndexUnreachableException
de.unigoettingen.sub.commons.contentlib.exceptions.ContentLibException
URISyntaxException
PresentationException
-