Package client.net.sf.saxon.ce.expr.instruct

Examples of client.net.sf.saxon.ce.expr.instruct.CallTemplate


        if (template==null) {
            return null;   // error already reported
        }
        target = template.getCompiledTemplate();

        CallTemplate call = new CallTemplate(target, useTailRecursion);
        call.setActualParameters(getWithParamInstructions(exec, decl, false, call),
                                 getWithParamInstructions(exec, decl, true, call));
        if (LogConfiguration.loggingIsEnabled() && LogController.traceIsEnabled()) {
          call.AddTraceProperty("name", calledTemplateName.getDisplayName());
        }
       
        return call;
    }
View Full Code Here


            sf.setContextItem(context.getContextItem());
            next = getMajorCaller(context);
            return sf;
        } else if (construct == StandardNames.XSL_CALL_TEMPLATE) {
            ContextStackFrame.CallTemplate sf = new ContextStackFrame.CallTemplate();
            CallTemplate loc = (CallTemplate)origin;
            sf.setSystemId(loc.getSystemId());
            sf.setLineNumber(-1); //(loc.getLineNumber());
            sf.setContainer(loc.getContainer());
            sf.setTemplateName(loc.getObjectName());
            sf.setContextItem(context.getContextItem());
            next = getMajorCaller(context);
            return sf;
        } else if (construct == StandardNames.XSL_VARIABLE) {
            ContextStackFrame.VariableEvaluation sf = new ContextStackFrame.VariableEvaluation();
View Full Code Here

    }


    @Override
    public Expression compile(Executable exec, Declaration decl) throws XPathException {
        CallTemplate call = (CallTemplate)instruction.compile(exec, decl);
        call.setUseTailRecursion(true);
        return new ScheduleExecution(call, wait);
    }
View Full Code Here

TOP

Related Classes of client.net.sf.saxon.ce.expr.instruct.CallTemplate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.