/** * Get the current template. This is used to support xsl:apply-imports * * @return the current template */ public Rule getCurrentTemplateRule() { return getCaller().getCurrentTemplateRule(); }
/** * Get the current template. This is used to support xsl:apply-imports * * @return the current template */ public Rule getCurrentTemplateRule() { return getCaller().getCurrentTemplateRule(); }
/** * Get the current template. This is used to support xsl:apply-imports * * @return the current template */ public Rule getCurrentTemplateRule() { return getCaller().getCurrentTemplateRule(); }
if (component != null) { if (component.getActor() instanceof Mode) { Rule rule = context.getCurrentTemplateRule(); if (rule != null) { StringBuilder sb = new StringBuilder();
/** * Create a new "major" context (one that is capable of holding a stack frame with local variables * @param prev the previous context (the one causing the new context to be created) * @return the new major context */ public static XPathContextMajor newContext(XPathContextMinor prev) { XPathContextMajor c = new XPathContextMajor(); XPathContext p = prev; while (!(p instanceof XPathContextMajor)) { p = p.getCaller(); } c.controller = p.getController(); c.currentIterator = prev.getCurrentIterator(); c.stackFrame = prev.getStackFrame(); c.localParameters = p.getLocalParameters(); c.tunnelParameters = p.getTunnelParameters(); c.last = prev.last; c.currentReceiver = prev.currentReceiver; c.isTemporaryDestination = prev.isTemporaryDestination; c.currentMode = p.getCurrentMode(); c.currentTemplate = p.getCurrentTemplateRule(); c.currentRegexIterator = p.getCurrentRegexIterator(); c.currentGroupIterator = p.getCurrentGroupIterator(); c.caller = prev; c.tailCallFunction = null; return c; }
/** * Create a new "major" context (one that is capable of holding a stack frame with local variables * @param prev the previous context (the one causing the new context to be created) * @return the new major context */ public static XPathContextMajor newContext(XPathContextMinor prev) { XPathContextMajor c = new XPathContextMajor(); XPathContext p = prev; while (!(p instanceof XPathContextMajor)) { p = p.getCaller(); } c.controller = p.getController(); c.currentIterator = prev.getCurrentIterator(); c.stackFrame = prev.getStackFrame(); c.localParameters = p.getLocalParameters(); c.tunnelParameters = p.getTunnelParameters(); c.last = prev.last; c.currentReceiver = prev.currentReceiver; c.isTemporaryDestination = prev.isTemporaryDestination; c.currentMode = p.getCurrentMode(); c.currentTemplate = p.getCurrentTemplateRule(); c.currentRegexIterator = p.getCurrentRegexIterator(); c.currentGroupIterator = p.getCurrentGroupIterator(); c.caller = prev; c.tailCallFunction = null; return c; }
/** * Create a new "major" context (one that is capable of holding a stack frame with local variables * @param prev the previous context (the one causing the new context to be created) * @return the new major context */ public static XPathContextMajor newContext(XPathContextMinor prev) { XPathContextMajor c = new XPathContextMajor(); XPathContext p = prev; while (!(p instanceof XPathContextMajor)) { p = p.getCaller(); } c.controller = p.getController(); c.currentIterator = prev.getCurrentIterator(); c.stackFrame = prev.getStackFrame(); c.localParameters = p.getLocalParameters(); c.tunnelParameters = p.getTunnelParameters(); c.last = prev.last; c.currentReceiver = prev.currentReceiver; c.isTemporaryDestination = prev.isTemporaryDestination; c.currentMode = p.getCurrentMode(); c.currentTemplate = p.getCurrentTemplateRule(); c.currentRegexIterator = p.getCurrentRegexIterator(); c.currentGroupIterator = p.getCurrentGroupIterator(); c.caller = prev; c.tailCallFunction = null; return c; }
c.currentDestination = prev.currentDestination; c.currentMode = p.getCurrentMode(); c.currentTemplate = p.getCurrentTemplateRule(); c.currentRegexIterator = p.getCurrentRegexIterator(); c.currentGroupIterator = p.getCurrentGroupIterator();
c.currentDestination = prev.currentDestination; c.currentMode = p.getCurrentMode(); c.currentTemplate = p.getCurrentTemplateRule(); c.currentRegexIterator = p.getCurrentRegexIterator(); c.currentGroupIterator = p.getCurrentGroupIterator();
ParameterSet tunnels = assembleTunnelParams(context, getTunnelParams()); Rule currentRule = context.getCurrentTemplateRule(); if (currentRule == null) { XPathException e = new XPathException("There is no current template rule", "XTDE0560");
ParameterSet tunnels = assembleTunnelParams(context, getTunnelParams()); Rule currentRule = context.getCurrentTemplateRule(); if (currentRule == null) { XPathException e = new XPathException("There is no current template rule", "XTDE0560");
ParameterSet tunnels = assembleTunnelParams(context, getTunnelParams()); Rule currentTemplateRule = context.getCurrentTemplateRule(); if (currentTemplateRule == null) { XPathException e = new XPathException("There is no current template rule");
ParameterSet tunnels = assembleTunnelParams(context, tunnelParams); Rule currentRule = context.getCurrentTemplateRule(); if (currentRule==null) { XPathException e = new XPathException("There is no current template rule");
ParameterSet tunnels = assembleTunnelParams(context, getTunnelParams()); Rule currentTemplateRule = context.getCurrentTemplateRule(); if (currentTemplateRule == null) { XPathException e = new XPathException("There is no current template rule");
ParameterSet tunnels = assembleTunnelParams(context, tunnelParams); Rule currentRule = context.getCurrentTemplateRule(); if (currentRule==null) { XPathException e = new XPathException("There is no current template rule");
ParameterSet tunnels = assembleTunnelParams(context, tunnelParams); Rule currentTemplateRule = context.getCurrentTemplateRule(); if (currentTemplateRule==null) { XPathException e = new XPathException("There is no current template rule");
ParameterSet tunnels = assembleTunnelParams(context, tunnelParams); Rule currentTemplateRule = context.getCurrentTemplateRule(); if (currentTemplateRule==null) { XPathException e = new XPathException("There is no current template rule");