code: public XMLFilter newXMLFilter(Templates templates)
            throws TransformerConfigurationException
    {
      try 
      {
        return new TrAXFilter(templates);
      } 
      catch( TransformerConfigurationException ex ) 
      {
        if( m_errorListener != null) 
        {
          try 
          {
            m_errorListener.fatalError( ex );
            return null;
          } 
          catch( TransformerConfigurationException ex1 ) 
          {
            throw ex1;
          }
          catch( TransformerException ex1 ) 
          {
            throw new TransformerConfigurationException(ex1);
          }
        }
        throw ex;
      }
    }
docs: Create an XMLFilter that uses the given source as the
  transformation instructions.
  
  @param templates non-null reference to Templates object.
  
  @return An XMLFilter object, or null if this feature is not supported.
  
  @throws TransformerConfigurationException