|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface METSManifest.Mdref
Callback interface to retrieve data streams in mdRef elements.
"Package" or file reader returns an input stream for the
given relative path, e.g. to dereference mdRef elements.
| Method Summary | |
|---|---|
InputStream |
getInputStream(org.jdom.Element mdRef)
Make the contents of an external resource mentioned in an mdRef element available as an InputStream. |
| Method Detail |
|---|
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.
PackageValidationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||