Validates a digital object.
@param objectAsStream The digital object provided as a stream. @param format The format URI of the object serialization. @param validationType The level of validation to perform on the digital object. This is an integer from 0-2 with the following meanings: 0 = VALIDATE_ALL (do all validation levels) 1 = VALIDATE_XML_SCHEMA (perform only XML Schema validation) 2 = VALIDATE_SCHEMATRON (perform only Schematron Rules validation) @param phase The stage in the workflow for which the validation should be contextualized. "ingest" = the object is encoded for ingest into the repository "store" = the object is encoded with all final assignments so that it is appropriate for storage as the authoritative serialization of the object. @throws ObjectValidityException If validation fails for any reason. @throws GeneralException If validation fails for any reason.
|
|
|
|