ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Moffat <>
Subject [PATCH] Patch for TraXLiaison to allow for easier overriding
Date Sun, 03 Nov 2002 21:01:27 GMT
I maintain XSLTXT which is a compact form for encoding xslt stylesheets 
( I want to extend the ant "style" 
task so that it can use stylesheets encoded in xsltxt. The easiest way 
for me to do this is to override and extend TraXLiaison and use the 
processor attribute on the style task to point to my extended class. 
However, I can currently do this as the fucntionality I need is embedded 
in private methods. The attached patch adds two new methods 
getXSLTXTSource, that returns the Source for the stylesheet, and 
makeFactory, that constructs the TransformerFactory. I've run the 
appropriate tests and they all pass.

Hopefully this patch is suitable for inclusion in the ant sources.


View raw message