Package com.volantis.xml.pipeline.sax.recorder

Examples of com.volantis.xml.pipeline.sax.recorder.PipelinePlayer.play()


            dependencyContext.propagateDependencies();

            // Play the content back.
            PipelineRecording recording = recorder.stopRecording();
            PipelinePlayer player = recording.createPlayer();
            player.play(getNextProcess());

            // Remove the recovery point and keep the changes that have been
            // made to the pipeline context.
            context.removeRecoveryPoint(recoveryPoint, true);
View Full Code Here


            // original SAX events to the target pipeline which will
            // then preprocess them (we assume) and send them to the
            // event collection process
            try {
                PipelinePlayer player = recording.createPlayer();
                player.play(target.getPipelineProcess());
                recording = processedEventRecorder.stopRecording();
            } finally {
                // Must always remove the collection process so that the
                // pipeline isn't messed up
                target.removeHeadProcess();
View Full Code Here

                    process = target.getPipelineProcess().getNextProcess();
                }
            }

            PipelinePlayer player = recording.createPlayer();
            player.play(process);
        } finally {
            if (complexity != Complexity.COMPLEX &&
                    evaluationMode == EvaluationMode.REPEATED) {
                // Remove the temporary process added above (this was added for
                // complexity testing purposes)
View Full Code Here

            } catch (SequenceIndexOutOfBoundsException e) {
                throw new ExtendedSAXException(e);
            }

            // Replay the events through the dynamic process.
            player.play(dynamicProcess);
        }

        // Make sure to pop the scope for tracking position the one that
        // contains the variable.
        expressionContext.popPositionScope();
View Full Code Here

                    cacheKey +
                    " playback started");
        }

        PipelinePlayer player = recording.createPlayer();
        player.play(getNextProcess());

        if (logger.isDebugEnabled()) {
            logger.debug("Cache entry in " +
                    cacheName +
                    " with key " +
View Full Code Here

        mcsFilter.setContentHandler(mcsContentHandler);

        // Replay the SAX events into the pipeline.
        PipelinePlayer player = recording.createPlayer();
        player.play(pipeline.getPipelineProcess());
    }

    /**
     * Create a new pipeline for use in replaying sax events into MCS.
     *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.