org.apache.solr.util.xslt

Class TransformerProvider



  • public class TransformerProvider
    extends Object
    Singleton that creates a Transformer for the XSLTServletFilter. For now, only caches the last created Transformer, but could evolve to use an LRU cache of Transformers. See http://www.javaworld.com/javaworld/jw-05-2003/jw-0502-xsl_p.html for one possible way of improving caching.