C# Class pcr.XsdValidation

support class to validate XML used in PCRaster API
显示文件 Open project: pcraster/pcraster Class Usage Examples

Public Methods

Method Description
XsdValidation ( ) : System
XsdValidation ( bool throwErrors ) : System
validateFile ( String filename ) : bool
validateString ( String xmlString ) : bool
validationHandler ( object sender, ValidationEventArgs args ) : void

Private Methods

Method Description
validateCommon ( ) : bool

Method Details

XsdValidation() public method

public XsdValidation ( ) : System
return System

XsdValidation() public method

public XsdValidation ( bool throwErrors ) : System
throwErrors bool
return System

validateFile() public method

public validateFile ( String filename ) : bool
filename String
return bool

validateString() public method

public validateString ( String xmlString ) : bool
xmlString String
return bool

validationHandler() public method

public validationHandler ( object sender, ValidationEventArgs args ) : void
sender object
args System.Xml.Schema.ValidationEventArgs
return void