org.fcrepo.server.validation.ecm
Class EcmValidator
java.lang.Object
org.fcrepo.server.validation.ecm.EcmValidator
- All Implemented Interfaces:
- DOObjectValidator
public class EcmValidator
- extends Object
- implements DOObjectValidator
Created by IntelliJ IDEA.
User: abr
Date: Jun 24, 2010
Time: 10:01:20 AM
To change this template use File | Settings | File Templates.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EcmValidator
public EcmValidator(RepositoryReader doMgr,
ExternalContentManager m_exExternalContentManager)
validate
public Validation validate(Context context,
String pid,
Date asOfDateTime)
throws ServerException
- Throws:
ServerException
validate
public void validate(Context context,
DOReader reader)
throws ServerException
- Description copied from interface:
DOObjectValidator
- Validate a digital object wrapped in a DOReader
- Specified by:
validate in interface DOObjectValidator
reader - - DOReader wrapping the object
- Throws:
ServerException
doValidate
protected Validation doValidate(Context context,
DOReader reader,
Date asOfDateTime,
List<String> contentModels)
throws ServerException
- Throws:
ServerException
Copyright © 2012 DuraSpace. All Rights Reserved.