Extracted the creation of a resolver out into its own method.
Change the visibility of toFile from private to public.
Moved some of the XSLT constants out into static finals.
Moved TemplateID from the services package into the utils package.
Added an equals and hasCode method so that instances of this class can be used as a key in a hash.
Changed the FOPUtils cache to key on TemplateID and updated methods respectively.