/** * Initialize the controller ready for a new transformation. This method should not normally be called by * users (it is done automatically when transform() is invoked). However, it is available as a low-level API * especially for use with XQuery. */ public void initializeController() throws XPathException { setRuleManager(executable.getRuleManager()); //setDecimalFormatManager(executable.getDecimalFormatManager()); if (traceListener!=null) { traceListener.open(); } // get a new bindery, to clear out any variables from previous runs bindery = new Bindery(); executable.initializeBindery(bindery); // if parameters were supplied, set them up defineGlobalParameters(); }
/** * Initialize the controller ready for a new transformation. This method should not normally be called by * users (it is done automatically when transform() is invoked). However, it is available as a low-level API * especially for use with XQuery. */ public void initializeController() throws XPathException { setRuleManager(executable.getRuleManager()); //setDecimalFormatManager(executable.getDecimalFormatManager()); if (traceListener!=null) { traceListener.open(); } // get a new bindery, to clear out any variables from previous runs bindery = new Bindery(); executable.initializeBindery(bindery); // if parameters were supplied, set them up defineGlobalParameters(); }
if (tracer != null) { controller.preEvaluateGlobals(context); tracer.open();
if (tracer != null) { controller.preEvaluateGlobals(context); tracer.open();