// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.xml.providers; import com.yahoo.container.di.componentgraph.Provider; import javax.xml.transform.TransformerFactory; /** * @author Einar M R Rosenvinge * @since 5.1.29 */ public class TransformerFactoryProvider implements Provider { public static final String FACTORY_CLASS = "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"; @Override public TransformerFactory get() { return TransformerFactory.newInstance(FACTORY_CLASS, this.getClass().getClassLoader()); } @Override public void deconstruct() { } }