Class JsonLDHandler
java.lang.Object
edu.ucsb.nceas.metacat.object.handler.NonXMLMetadataHandler
edu.ucsb.nceas.metacat.object.handler.JsonLDHandler
The handler of JSON-LD objects to save bytes to disk
- Author:
- tao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(InputStream source) The abstract method to validate the non-xml object
-
Constructor Details
-
JsonLDHandler
public JsonLDHandler()Default constructor
-
-
Method Details
-
validate
Description copied from class:NonXMLMetadataHandler
The abstract method to validate the non-xml object- Specified by:
validate
in classNonXMLMetadataHandler
- Parameters:
source
- the input stream contains the content of the meta data object- Returns:
- true if the content is valid; false otherwise.
- Throws:
org.dataone.service.exceptions.InvalidRequest
- when the content is not valid
-