Package net.sf.saxon.event

Examples of net.sf.saxon.event.ProxyReceiver


          if (context != null) {
            Source source = XMLSystemFunctions.convertToSource(context);
            result.sources.add(source);
              if (contextRoot != null) {
                //create our own filter as this logic is not provided in the free saxon
                  ProxyReceiver filter = new PathMapFilter(contextRoot);
                  AugmentedSource sourceInput = AugmentedSource.makeAugmentedSource(source);
                  sourceInput.addFilter(filter);
                  source = sourceInput;
              }
              DocumentInfo doc;
View Full Code Here


                if (contextRoot != null) {
                    if (contextRoot.hasUnknownDependencies()) {
                        System.err.println("Document projection for the context document is not possible, " +
                                "because the query uses paths that defy analysis");
                    } else {
                        ProxyReceiver filter = config.makeDocumentProjector(contextRoot);
                        sourceInput = AugmentedSource.makeAugmentedSource(sourceInput);
                        ((AugmentedSource)sourceInput).addFilter(filter);
                    }
                } else {
                    System.err.println("Source document supplied, but query does not access the context item");
View Full Code Here

TOP

Related Classes of net.sf.saxon.event.ProxyReceiver

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.