__init__ constructor

On this page

init

Initializes a new instance of the ParserSettings class with the logger.

def __init__(self, logger):
    ...
Parameter Type Description
logger ILogger An instance of a class that implements the ILogger interface.

init

Initializes a new instance of the ParserSettings class with the OCR connector.

def __init__(self, ocr_connector):
    ...
Parameter Type Description
ocr_connector OcrConnectorBase An instance of a class that inherits OcrConnectorBase to provide OCR functionality.

init

Initializes a new instance of the ParserSettings class with the external resource handler.

def __init__(self, external_resource_handler):
    ...
Parameter Type Description
external_resource_handler ExternalResourceHandler An instance of a class that inherits ExternalResourceHandler to provide control of external resources loading.

init

Initializes a new ParserSettings instance with a logger and an OCR connector.

def __init__(self, logger, ocr_connector):
    ...
Parameter Type Description
logger ILogger An instance of a class that implements ILogger.
ocr_connector OcrConnectorBase An instance of a class that inherits OcrConnectorBase to provide OCR functionality.

init

Initializes a new instance of the ParserSettings class with logger, OCR Connector and External Resource Handler.

def __init__(self, logger, ocr_connector, external_resource_handler):
    ...
Parameter Type Description
logger ILogger An instance of class that implements ILogger interface.
ocr_connector OcrConnectorBase An instance of class that inherits OcrConnectorBase class to provide OCR functionality.
external_resource_handler ExternalResourceHandler An instance of class that inherits ExternalResourceHandler class to provide the control of external resource loading.

See Also

On this page