Examples of PullEventSource


Examples of net.sf.saxon.evpull.PullEventSource

                bridge.setXMLStreamReader((XMLStreamReader)value);
                PipelineConfiguration pipe = config.makePipelineConfiguration();
                bridge.setPipelineConfiguration(pipe);
                Builder b = new TinyBuilder();
                b.setPipelineConfiguration(pipe);
                new Sender(pipe).send(new PullEventSource(bridge), b, null);
                NodeInfo node = b.getCurrentRoot();
                b.reset();
                return node;
            } else {
                throw new XPathException("Java object cannot be converted to an XQuery value");
View Full Code Here

Examples of net.sf.saxon.evpull.PullEventSource

                StaxToEventBridge bridge = new StaxToEventBridge();
                bridge.setXMLStreamReader(value);
                bridge.setPipelineConfiguration(getConfiguration().makePipelineConfiguration());
                provider = bridge;
            }
            Source ss = new PullEventSource(provider);
            ss = augmentSource(ss, type);
            DocumentInfo doc = getConfiguration().buildDocument(ss);
            checkDocumentType(doc, (SaxonXQItemType)type);
            return new SaxonXQItem(doc, this);
        } catch (XPathException de) {
View Full Code Here

Examples of org.pdf4j.saxon.evpull.PullEventSource

                bridge.setXMLStreamReader((XMLStreamReader)value);
                PipelineConfiguration pipe = config.makePipelineConfiguration();
                bridge.setPipelineConfiguration(pipe);
                Builder b = new TinyBuilder();
                b.setPipelineConfiguration(pipe);
                new Sender(pipe).send(new PullEventSource(bridge), b);
                NodeInfo node = b.getCurrentRoot();
                b.reset();
                return node;
            } else {
                throw new XPathException("Java object cannot be converted to an XQuery value");
View Full Code Here

Examples of org.pdf4j.saxon.evpull.PullEventSource

        SaxonXQDataSource.checkNotNull(value, "value");
        try {
            StaxToEventBridge bridge = new StaxToEventBridge();
            bridge.setXMLStreamReader(value);
            bridge.setPipelineConfiguration(getConfiguration().makePipelineConfiguration());
            Source ss = new PullEventSource(bridge);
            ss = augmentSource(ss, type);
            DocumentInfo doc = getConfiguration().buildDocument(ss);
            checkDocumentType(doc, (SaxonXQItemType)type);
            return new SaxonXQItem(doc, this);
        } catch (XPathException de) {
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.