Package client.net.sf.saxon.ce.event

Examples of client.net.sf.saxon.ce.event.Builder


            ((TextFragmentValue)root).setConfiguration(controller.getConfiguration());
        } else {
            try {
                XPathContext c2 = context.newMinorContext();

                Builder builder = controller.makeBuilder();

                //receiver.setSystemId(getBaseURI());
                builder.setBaseURI(getBaseURI());

                PipelineConfiguration pipe = controller.makePipelineConfiguration();
                builder.setPipelineConfiguration(pipe);

                c2.changeOutputDestination(builder, false);
                Receiver out = c2.getReceiver();
                out.open();
                out.startDocument();

                content.process(c2);

                out.endDocument();
                out.close();

                root = (DocumentInfo)builder.getCurrentRoot();
            } catch (XPathException e) {
                e.maybeSetLocation(getSourceLocator());
                e.maybeSetContext(context);
                throw e;
            }
View Full Code Here

TOP

Related Classes of client.net.sf.saxon.ce.event.Builder

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.