public static interface METSManifest.Mdref
mdRef elements.| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream(org.jdom.Element mdRef)
Make the contents of an external resource mentioned in
an
mdRef element available as an InputStream. |
InputStream getInputStream(org.jdom.Element mdRef) throws MetadataValidationException, PackageValidationException, IOException, SQLException, AuthorizeException
mdRef element available as an InputStream.
The implementation must use the information in the
mdRef element, and the state in the object that
implements this interface, to find the actual metadata content.
For example, an implementation that ingests a directory of
files on the local filesystem would get a relative pathname
out of the mdRef and open that file.
mdRef - JDOM element of mdRef in the METS manifest.MetadataValidationException - if the mdRef is unacceptable or missing required information.IOException - if it is returned by services called by this method.SQLException - if it is returned by services called by this method.AuthorizeException - if it is returned by services called by this method.PackageValidationExceptionCopyright © 2016 DuraSpace. All Rights Reserved.