// internal constructor: the public interface is a factory method // on the Processor object internal XQueryCompiler(Processor processor) { this.processor = processor; this.config = processor.Implementation; this.env = config.newStaticQueryContext(); env.setModuleURIResolver(new JDotNetStandardModuleURIResolver(processor.XmlResolver)); }