Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createXPath (0.09 sec)

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

     */
    public class XPathAPI {
    
        private final XPath xPath;
    
        /**
         * Creates a new XPathAPI instance.
         */
        public XPathAPI() {
            xPath = createXPath(f -> {});
        }
    
        /**
         * Creates an instance of {@link XPath} using the provided {@link Consumer} to configure the {@link XPathFactory}.
         *
    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/transformer/impl/XmlTransformer.java

         */
        protected XPathNodes getNodeList(final Document doc, final String xpath) throws XPathExpressionException {
            final XPath xPathApi = getXPathAPI().createXPath(f -> {});
            xPathApi.setNamespaceContext(new DefaultNamespaceContext(doc.getNodeType() == Node.DOCUMENT_NODE ? doc.getDocumentElement() : doc));
            return xPathApi.evaluateExpression(xpath, doc, XPathNodes.class);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top