[prev in list] [next in list] [prev in thread] [next in thread]
List: xalan-j-users
Subject: RE: Is there a concept of reusing a Transformer instance?
From: Tim Cronin <tim () 13-colonies ! com>
Date: 2003-04-25 12:42:02
[Download RAW message or body]
have you looked at using a javax.xml.transform.Templates object
to get multiple transformer instance
see javax.xml.transform.TransformerFactory.newTemplates
-----Original Message-----
From: kroberts@mmm.com [mailto:kroberts@mmm.com]
Sent: Thursday, April 24, 2003 6:46 PM
To: xalan-j-users@xml.apache.org
Subject: Is there a concept of reusing a Transformer instance?
I've encapsulated some code that essentially emulates the xalan-1 API, to
minimize changes. There is a case where a reference to a class that wraps a
Transformer instance is copied; but now these two StylesheetRoot (the
wrapper) instances have references to the same Transformer reference. Is it
possible to do repeated transformations with the same instance. If not, is
there a concept of reset or clone?
Thanks.
Keith...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic