Class NonXMLMetadataHandler
java.lang.Object
edu.ucsb.nceas.metacat.object.handler.NonXMLMetadataHandler
- Direct Known Subclasses:
- JsonLDHandler
The abstract class to validate non-xml meta data objects
- Author:
- tao
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract booleanvalidate(InputStream source) The abstract method to validate the non-xml object
- 
Constructor Details- 
NonXMLMetadataHandlerpublic NonXMLMetadataHandler()
 
- 
- 
Method Details- 
validatepublic abstract boolean validate(InputStream source) throws org.dataone.service.exceptions.InvalidRequest The abstract method to validate the non-xml object- 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
 
 
-