Esempio n. 1
0
        // internal constructor

        internal XPathSelector(JXPathSelector selector)
        {
            this.selector = selector;
        }
Esempio n. 2
0
        /// <summary>
        /// Load the compiled XPath expression to prepare it for execution.
        /// </summary>
        /// <returns>
        /// An <c>XPathSelector</c>. The returned <c>XPathSelector</c> can be used to
        /// set up the dynamic context, and then to evaluate the expression.
        /// </returns>

        public XPathSelector Load()
        {
            JXPathSelector selector = executable.load();

            return(new XPathSelector(selector));
        }