Package org.mycore.pi.urn.rest
Class MCRURNJsonBundle
java.lang.Object
org.mycore.pi.urn.rest.MCRURNJsonBundle
Class wraps the urn/url in json as needed by the dnb urn service api. Supersedes the now deprecated class
MCREpicurLite
.- Author:
- shermann
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetUrl()
static MCRURNJsonBundle
instance
(MCRPIRegistrationInfo urn, URL url) toJSON
(MCRURNJsonBundle.Format format) Returns the proper JSON with respect to the givenMCRURNJsonBundle.Format
-
Method Details
-
instance
-
getUrl
-
toJSON
Returns the proper JSON with respect to the givenMCRURNJsonBundle.Format
- Parameters:
format
- one ofMCRURNJsonBundle.Format
- Returns:
- JSON
-