Saxon.Api

 

 

Saxon.Api

Class ErrorReporterToStaticError


public class ErrorReporterToStaticError
extends net.sf.saxon.lib.ErrorReporter

ErrorReporter for gathering errors as XmlProcessorError to then convert them to a list of StaticErrors.

Constructor Summary

ErrorReporterToStaticError (IList<StaticError> errorList)

Initializes a new instance of the ErrorReporter class.

 

Property Summary

 IList<StaticError> ErrorList

Get property on the wrapped error list.

 

Method Summary

 void report(net.sf.saxon.s9api.XmlProcessingError xpe)

This method is called internally in Saxon to report an error by adding it to the error list.

 

Constructor Detail

ErrorReporterToStaticError

public ErrorReporterToStaticError(IList<StaticError> errorList)

Initializes a new instance of the ErrorReporter class.

Parameters:

errorList - Error list.

Property Detail

ErrorList

public IList<StaticError> ErrorList {get; }

Get property on the wrapped error list.

Method Detail

report

public void report(net.sf.saxon.s9api.XmlProcessingError xpe)

This method is called internally in Saxon to report an error by adding it to the error list.

Parameters:

xpe - details of the error to be reported