// internal constructor internal XPathSelector(JXPathExpression exp, JConfiguration config, DotNetIndependentContext env) { this.exp = exp.getInternalExpression(); this.config = config; this.env = env; variableValues = new JValueRepresentation[env.getStackFrameMap().getNumberOfVariables()]; // TODO: there are some reuse issues here if the compiler/static context has been reused }
// internal constructor: the public interface is a factory method // on the Processor object internal XPathCompiler(JConfiguration config) { this.config = config; this.env = new DotNetIndependentContext(config); }
// internal constructor internal XPathExecutable(JXPathExpression exp, JConfiguration config, DotNetIndependentContext env) { this.exp = exp; this.config = config; this.env = env; }