RE: Does FopFactoryBuilder really have a setURIResolver method?
Mark Gibson <[email protected]> Thu, 27 Feb 2025 14:26:31 +0000
| Newsgroups | gmane.text.xml.fop.user |
|---|---|
| Message-ID | <SA2PR04MB7675A7465D0F91B9D293867BDDCD2@SA2PR04MB7675.namprd04.prod.outlook.com> |
The setURIResolver in the comments seems to suggest it's talking about an X= ML Transform related class, URIResolver, that would be used in the XSL Tran= sform stage. The constructor argument is a ResourceResolver, and seems to be more FOP re= lated, so used after the initial XSL transformation. Either way, I also can't find setURIResolver as an actual method. -----Original Message----- From: [email protected] <[email protected]>=20 Sent: 21 February 2025 15:24 To: [email protected] Subject: Does FopFactoryBuilder really have a setURIResolver method? [EXTERNAL] I'm wondering if FopFactoryBuilder is missing a setURIResolver() method. The javadoc for FopFactoryBuilder shows an example of making a FopFactoryBu= ilder like so: FopFactoryBuilder fopFactoryBuilder =3D new FopFactoryBuilder(<URI>) .setURIResolver(<URIResol= ver>) <---------HERE .setPageHeight(<String>) .setPageWidth(<String>) .setStrictUserConfigValid= ation(<boolean>) ... etc ... FopFactory fopFactory =3D fopFactoryBuilder.build(); I am interested in using custom URI resolvers and haven't found the .setURI= Resolved method() on FopFactoryBuilder. Instead, I've been setting it in th= e FopFactoryBuilder's contructor, like: new FopFactoryBuilder(new File(".").toURI(), resourceResolver) But I'm wondering if I'm missing something. It would be nice to use the .se= tURIResolver() if it does exist. Thanks, -John --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]