public XOutput(XProcRuntime runtime, Output output) { this.runtime = runtime; node = output.getNode(); port = output.getPort(); sequenceOk = output.getSequence(); documents = new DocumentSequence(runtime); readers = new Vector<ReadablePipe> (); }
public XOutput(XProcRuntime runtime, Output output) { this.runtime = runtime; node = output.getNode(); port = output.getPort(); sequenceOk = output.getSequence(); documents = new DocumentSequence(runtime); readers = new Vector<ReadablePipe> (); }
public void addOutput(Output output) { output.setStep(this); for (Output current : outputs) { if (current.getPort().equals(output.getPort())) { throw XProcException.staticError(11, output.getNode(), "Output port name '" + output.getPort() + "' appears more than once."); } } outputs.add(output); }
public void addOutput(Output output) { if (this.output != null) { throw new XProcException(output.getNode(), "cx:until-unchanged can have only a single output port: " + output.getPort()); } if (!"#current".equals(output.getPort())) { this.output = output; } super.addOutput(output); }
public void addOutput(Output output) { if (this.output != null) { throw new XProcException(output.getNode(), "cx:until-unchanged can have only a single output port: " + output.getPort()); } if (!"#current".equals(output.getPort())) { this.output = output; } super.addOutput(output); }
public void addOutput(Output output) { output.setStep(this); for (Output current : outputs) { if (current.getPort().equals(output.getPort())) { throw XProcException.staticError(11, output.getNode(), "Output port name '" + output.getPort() + "' appears more than once."); } } outputs.add(output); }
@Override protected void augmentIO() { // Output bindings on a compound step are really the input half of an input/output binding; // create the other half for (Output output : outputs) { Input input = getInput("|" + output.getPort()); if (input == null) { input = new Input(runtime, output.getNode()); input.setPort("|" + output.getPort()); input.setSequence(true); // the other half will check input.setPrimary(output.getPrimary()); addInput(input); } } // The only input on catch is errors and it's special } }
@Override protected void augmentIO() { // Output bindings on a compound step are really the input half of an input/output binding; // create the other half for (Output output : outputs) { Input input = getInput("|" + output.getPort()); if (input == null) { input = new Input(runtime, output.getNode()); input.setPort("|" + output.getPort()); input.setSequence(true); // the other half will check input.setPrimary(output.getPrimary()); addInput(input); } } // The only input on catch is errors and it's special } }
Input input = getInput("|" + output.getPort()); if (input == null) { input = new Input(runtime, output.getNode()); input.setPort("|" + output.getPort()); input.setSequence(true); // the other half will check
Input input = getInput("|" + output.getPort()); if (input == null) { input = new Input(runtime, output.getNode()); input.setPort("|" + output.getPort()); input.setSequence(true); // the other half will check
Input input = new Input(runtime, output.getNode()); input.setPort("|" + output.getPort()); for (Binding binding : output.getBinding()) {
Input input = new Input(runtime, output.getNode()); input.setPort("|" + output.getPort()); for (Binding binding : output.getBinding()) {
Input input = step.getInput("|" + output.getPort()); if (step.isAtomic() && input != null) { runtime.error(null,output.getNode(),"Output bindings are not allowed on an atomic step",XProcConstants.staticError(29));
Input input = step.getInput("|" + output.getPort()); if (step.isAtomic() && input != null) { runtime.error(null,output.getNode(),"Output bindings are not allowed on an atomic step",XProcConstants.staticError(29));
Output pOutput = new Output(runtime, output.getNode()); pOutput.setPort(output.getPort()); pOutput.setPrimary(output.getPrimary()); pOutput.setSequence(output.getSequence()); Input pInput = new Input(runtime, output.getNode()); pInput.setPort("|" + output.getPort()); pInput.setSequence(output.getSequence()); pipeline.addInput(pInput); PipeNameBinding pnb = new PipeNameBinding(runtime, output.getNode()); pnb.setStep(step.getName()); pnb.setPort(output.getPort());
Output pOutput = new Output(runtime, output.getNode()); pOutput.setPort(output.getPort()); pOutput.setPrimary(output.getPrimary()); pOutput.setSequence(output.getSequence()); Input pInput = new Input(runtime, output.getNode()); pInput.setPort("|" + output.getPort()); pInput.setSequence(output.getSequence()); pipeline.addInput(pInput); PipeNameBinding pnb = new PipeNameBinding(runtime, output.getNode()); pnb.setStep(step.getName()); pnb.setPort(output.getPort());