/** * Creates a new <code>Transformer</code>. Must be called per request, as transformers are not thread-safe. * * @return the created transformer * @throws TransformerConfigurationException * if thrown by JAXP methods */ protected final Transformer createTransformer() throws TransformerConfigurationException { return getTransformerFactory().newTransformer(); }
/** * Returns the {@code TransformerFactory}. */ protected TransformerFactory getTransformerFactory() { return transformerHelper.getTransformerFactory(); }
/** * Returns the {@code TransformerFactory}. */ protected TransformerFactory getTransformerFactory() { return transformerHelper.getTransformerFactory(); }
/** * Creates a new {@code Transformer}. Must be called per thread, as transformers are not thread-safe. * * @return the created transformer * @throws TransformerConfigurationException * if thrown by JAXP methods */ public Transformer createTransformer() throws TransformerConfigurationException { return getTransformerFactory().newTransformer(); }
/** * Creates a new {@code Transformer}. Must be called per thread, as transformers are not thread-safe. * * @return the created transformer * @throws TransformerConfigurationException * if thrown by JAXP methods */ public Transformer createTransformer() throws TransformerConfigurationException { return getTransformerFactory().newTransformer(); }