org.fcrepo.server.validation.ecm
Class EcmValidator

java.lang.Object
  extended by 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.


Constructor Summary
EcmValidator(RepositoryReader doMgr, ExternalContentManager m_exExternalContentManager)
           
 
Method Summary
protected  Validation doValidate(Context context, DOReader reader, Date asOfDateTime, List<String> contentModels)
           
 void validate(Context context, DOReader reader)
          Validate a digital object wrapped in a DOReader
 Validation validate(Context context, String pid, Date asOfDateTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcmValidator

public EcmValidator(RepositoryReader doMgr,
                    ExternalContentManager m_exExternalContentManager)
Method Detail

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.