public void instantiate(Step step) { instantiateReaders(step); parent.addStep(this); if (port.endsWith("|")) { String rport = port.substring(0,port.length()-1); XInput xinput = getInput(rport); WritablePipe wpipe = xinput.getWriter(); outputs.put(port, wpipe); } else { XOutput xoutput = new XOutput(runtime, output); addOutput(xoutput); WritablePipe wpipe = xoutput.getWriter(); outputs.put(port, wpipe);
RuntimeValue value = computeValue(var); inScopeOptions.put(var.getName(), value); XProcMessageListenerHelper.openStep(runtime, this); } catch (Throwable e) { throw handleException(e);
XChoose newstep = new XChoose(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.p_group.equals(substep.getType())) { XGroup newstep = new XGroup(runtime, substep, this);
RuntimeValue value = computeValue(var); inScopeOptions.put(var.getName(), value);
XChoose newstep = new XChoose(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.p_group.equals(substep.getType())) { XGroup newstep = new XGroup(runtime, substep, this);
public void instantiate(Step step) { instantiateReaders(step); parent.addStep(this); if (port.endsWith("|")) { String rport = port.substring(0,port.length()-1); XInput xinput = getInput(rport); WritablePipe wpipe = xinput.getWriter(); outputs.put(port, wpipe); } else { XOutput xoutput = new XOutput(runtime, output); addOutput(xoutput); WritablePipe wpipe = xoutput.getWriter(); outputs.put(port, wpipe);