package org.callimachusproject.xslt;

import java.io.InputStream;
import java.io.Reader;

import javax.xml.transform.TransformerFactory;

public class XSLTransformerFactory {
	private static final XSLTransformerFactory instance = new XSLTransformerFactory();

	public static XSLTransformerFactory getInstance() {
		return instance;
	}

	private final TransformerFactory tfactory = new CachedTransformerFactory();

	XSLTransformerFactory() {
		super();
	}

	public XSLTransformer createTransformer(String systemId) {
		return new XSLTransformer(systemId, tfactory);
	}

	public XSLTransformer createTransformer(InputStream in, String systemId) {
		return new XSLTransformer(in, systemId, tfactory);
	}

	public XSLTransformer createTransformer(Reader r, String systemId) {
		return new XSLTransformer(r, systemId, tfactory);
	}

}

@@ -445,24 +445,118 @@
 uper();%0A%09%7D%0A%0A
+%09public XSLTransformer createTransformer() %7B%0A%09%09return new XSLTransformer(null, tfactory);%0A%09%7D%0A%0A
 %09public XSLT

Add identify transformer factory method