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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidate(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:NonXMLMetadataHandlerThe abstract method to validate the non-xml object- Specified by:
validatein 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
-