C# 클래스 SobekCM.Resource_Object.Utilities.METS_Validator_Object

Validates a METS file with references to the SobekCM custom schema
Written by Gus Clifton and Mark Sullivan ( 2005 ).
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application

공개 메소드들

메소드 설명
METS_Validator_Object ( bool load_all_schemas ) : System

Constructor for a new instance of the METS_Validator_Object class.

Validate_Against_Schema ( string METS_File ) : bool

Validates a single METS XML file

If this does not validate, the accumulated errors can be reached through the 'Errors' property.

비공개 메소드들

메소드 설명
MyValidationEventHandler ( object sender, ValidationEventArgs args ) : void

EventHandler is called when there is an error during validation

메소드 상세

METS_Validator_Object() 공개 메소드

Constructor for a new instance of the METS_Validator_Object class.
public METS_Validator_Object ( bool load_all_schemas ) : System
load_all_schemas bool Flag indicates whether third-party schemas should be loaded for validation
리턴 System

Validate_Against_Schema() 공개 메소드

Validates a single METS XML file
If this does not validate, the accumulated errors can be reached through the 'Errors' property.
public Validate_Against_Schema ( string METS_File ) : bool
METS_File string Location and name of file to validate
리턴 bool