- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,509 for xpath (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* * @see javax.xml.xpath.XPath * @see javax.xml.xpath.XPathFactory * @see javax.xml.xpath.XPathExpressionException */ public class XPathAPI { private final XPath xPath; /** * Creates a new XPathAPI instance. */ public XPathAPI() { xPath = createXPath(f -> {}); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
final String xpath = xpathConfigMap.get(XPath.DEFAULT_LANG); if (StringUtil.isNotBlank(xpath)) { return xpath; } return fessConfig.getCrawlerDocumentHtmlLangXpath(); } /** * Gets the XPath expression for extracting content. * * @param fessConfig the Fess configuration * @param xpathConfigMap the XPath configuration map
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 54.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
// Test with xpath parameters configParameters = "field.xpath.title=//title\nfield.xpath.content=//body"; result = ParameterUtil.createConfigParameterMap(configParameters); assertEquals(2, result.get(ConfigName.XPATH).size()); assertEquals("//title", result.get(ConfigName.XPATH).get("title")); assertEquals("//body", result.get(ConfigName.XPATH).get("content"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 22.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} /** * Checks if a path is valid for crawling (not a JavaScript, mailto, or other invalid URL). * * @param path the path to validate * @return true if the path is valid, false otherwise */ protected boolean isValidPath(final String path) { if (StringUtil.isBlank(path)) { return false; }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
} /** * Adds a metadata field with its corresponding XPath expression for extraction. * * @param name the name of the metadata field * @param xpath the XPath expression to extract the metadata value */ public void addMetadata(final String name, final String xpath) { metadataXpathMap.put(name, xpath); } /* * (non-Javadoc) * * @see
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
} /** * Adds a field rule to the transformer. * @param name The name of the field. * @param xpath The XPath expression for the field. */ public void addFieldRule(final String name, final String xpath) { fieldRuleMap.put(name, xpath); } /** * Returns data as XML content of String. * * @return XML content of String. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
} } /** * Retrieves a list of XPath nodes from the document. * * @param doc The XML document. * @param xpath The XPath expression. * @return A list of XPath nodes. * @throws XPathExpressionException if an XPath expression error occurs. */ protected XPathNodes getNodeList(final Document doc, final String xpath) throws XPathExpressionException {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 23.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
} /** * Gets the XPath expression for selecting target nodes. * * @return the target node path */ public String getTargetNodePath() { return targetNodePath; } /** * Sets the XPath expression for selecting target nodes. * * @param targetNodePath the target node path to set */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
/** * Utility class for parameter operations. */ public class ParameterUtil { private static final String CIPHER_PREFIX = "{cipher}"; /** The XPath field prefix. */ protected static final String XPATH_PREFIX = "field.xpath."; /** The meta field prefix. */ protected static final String META_PREFIX = "field.meta."; /** The value field prefix. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0)