Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for XPathAPI (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

    import org.w3c.dom.Node;
    
    /**
     * The XPathAPI class provides methods to evaluate XPath expressions and select nodes or node lists from an XML document.
     * It uses the javax.xml.xpath.XPath and javax.xml.xpath.XPathFactory classes to create and evaluate XPath expressions.
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * XPathAPI xPathAPI = new XPathAPI();
     * NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

        }
    
        /**
         * Gets a thread-local XPathAPI instance for thread-safe XPath evaluation.
         *
         * @return the XPathAPI instance for the current thread
         */
        protected XPathAPI getXPathAPI() {
            XPathAPI cachedXPathAPI = xpathAPI.get();
            if (cachedXPathAPI == null) {
                cachedXPathAPI = new XPathAPI();
                xpathAPI.set(cachedXPathAPI);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top