Project

Profile

Help

Support #4898

closed

Processor.setConfigurationProperty() - Deprecated

Added by Raymond Lillibridge about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2021-02-09
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
10
Fixed in Maintenance Release:
Platforms:

Description

My Java application has the following two lines of code, which are working:

DocxGeneratingOutputUriResolver outputResolver = new DocxGeneratingOutputUriResolver(outDir, templateDoc, log);

processor.setConfigurationProperty(FeatureKeys.OUTPUT_URI_RESOLVER, outputResolver);

However, using the Eclipse IDE 2020-12, I am getting this message on the usage of the Processor.setConfigurationProperty(): "Deprecated. since 9.9 - use setConfigurationProperty(Feature, Object)."

I would prefer to upgrade my application to use either of the suggested methods: Xslt30Transformer.setResultDocumentHandler(java.util.function.Function) or XsltController.setResultDocumentResolver(ResultDocumentResolver) instead.

I have found some simple examples online on how to use them, but they are such a leap from my currently deprecated methods, I haven't a clue on how to upgrade things.

Any support is kindly appreciated.

Please register to edit this issue

Also available in: Atom PDF