Saxon.Api

 

 

Saxon.Api

Class ErrorReporter


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

The ErrorReporter is a generic functional class for reporting errors and warnings. This class wraps an IList of XmlProcessingError objects. It is designed to be used internally by Saxon.

Constructor Summary

ErrorReporter (IList<XmlProcessingError> errorList)

Initializes a new instance of the ErrorReporter class.

 

Property Summary

 IList<XmlProcessingError> ErrorList

Get property on the wrapped error list.

 

Method Summary

 void report(XmlProcessingError error)

Report an error. This method is called by Saxon when an error needs to be reported to the calling application.

 

Constructor Detail

ErrorReporter

public ErrorReporter(IList<XmlProcessingError> errorList)

Initializes a new instance of the ErrorReporter class.

Parameters:

errorList - Error list.

Property Detail

ErrorList

public IList<XmlProcessingError> ErrorList {get; }

Get property on the wrapped error list.

Method Detail

report

public void report(XmlProcessingError error)

Report an error. This method is called by Saxon when an error needs to be reported to the calling application.

Parameters:

error - Details of the error to be reported