/** * Get the Rule Manager. * <p>This method is intended for internal use only.</p> * * @return the Rule Manager, used to hold details of template rules for * all modes; or null in the case of a non-XSLT controller */ public RuleManager getRuleManager() { Executable exec = getExecutable(); return exec instanceof PreparedStylesheet ? ((PreparedStylesheet) getExecutable()).getRuleManager() : null; }
/** * Get the Rule Manager. * <p>This method is intended for internal use only.</p> * * @return the Rule Manager, used to hold details of template rules for * all modes; or null in the case of a non-XSLT controller */ public RuleManager getRuleManager() { Executable exec = getExecutable(); return exec instanceof PreparedStylesheet ? ((PreparedStylesheet) getExecutable()).getRuleManager() : null; }
Mode initial = ((PreparedStylesheet) executable).getRuleManager().obtainMode(Mode.UNNAMED_MODE_NAME, true); initialMode = initial.getDeclaringComponent(); } else {
Mode initial = ((PreparedStylesheet) executable).getRuleManager().obtainMode(Mode.UNNAMED_MODE_NAME, true); initialMode = initial.getDeclaringComponent(); } else {