Code example for Templates

Methods: newTransformer

  public TrAXFilter (Templates templates)
    throws TransformerConfigurationException 
    m_templates = templates;
    m_transformer = (TransformerImpl)templates.newTransformer();
   * Return the Transformer object used for this XML filter. 
  public TransformerImpl getTransformer() 
    return m_transformer;
  /** Set the parent reader. 
   * <p>This is the {@link org.xml.sax.XMLReader XMLReader} from which  
   * this filter will obtain its events and to which it will pass its  
   * configuration requests.  The parent may itself be another filter.</p>