Code example for Templates

Methods: newTransformer

0
		log.info("Getting Transform for " + callName);
		TransformInfo ti = (TransformInfo) transforms.get(callName.toLowerCase());
		Templates template = (Templates) In_transformPool.get(ti.getInputTransForm());
		Transformer retval = null;
		try { 
			retval = template.newTransformer();
		} catch (TransformerConfigurationException tcex) {
			log.log(Level.SEVERE, tcex.getMessage(), tcex);
		} 
		return retval;
	} 
 
	/** 
	 * Gets the outputTransform attribute of the DialectEngine object 
	 *  
	 * @param callName 
	 *                   Description of Parameter 
	 * @return The outputTransform value 
	 * @since 
	 */ 
	public Transformer getOutputTransform(String callName) {