cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <>
Subject [C2][Xalan2J] SAXTransformerFactory's newXMLFilter
Date Sun, 12 Nov 2000 22:06:01 GMT

SAXTransformerFactory needs a new method named newXMLFilter which takes in a Templates object
as a
parameter. I know that there are other ways of getting an XMLFilter which contains a Transformer,
but the objective is to make it easy. For example there are two newTransformerHandler methods
of which takes in a Source and another takes in a Templates object. So why not have an additional
newXMLFilter which takes in a Templates object?


  public XMLFilter newXMLFilter(Templates templates){
    try {
      return new TrAXFilter(templates);
    } catch(TransformerConfigurationException tfe) {
      return null;

Davanum Srinivas, JNI-FAQ Manager

Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!

View raw message