Package com.xmlcalabash.io

Examples of com.xmlcalabash.io.ReadableEmpty


        for (XStep step : subpipeline) {
            if (stepName.equals(step.getName())) {
                XOutput output = step.getOutput(portName);
                if (output == null) {
                    return new ReadableEmpty();
                } else {
                    ReadablePipe rpipe = output.getReader();
                    return rpipe;
                }
            }
View Full Code Here


        if (name.equals(stepName) && "#xpath-context".equals(portName)) {
            // FIXME: Check that .get(0) works, and that there's no sequence
            Vector<ReadablePipe> xpc = inputs.get("#xpath-context");
            if (xpc.size() == 0) {
                // If there's no binding for a p:choose, the default is an empty binding...
                return new ReadableEmpty();
            }
            ReadablePipe pipe = xpc.get(0)
            return new Pipe(runtime, pipe.documents());
        } else {
            return super.getBinding(stepName, portName);
View Full Code Here

TOP

Related Classes of com.xmlcalabash.io.ReadableEmpty

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.