- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,764 for xpath (0.01 sec)
-
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(); } protected String getContentXpath(final FessConfig fessConfig, final Map<String, String> xpathConfigMap) { final String xpath = xpathConfigMap.get(XPath.DEFAULT_CONTENT);
Registered: 2025-05-26 08:04 - Last Modified: 2025-03-15 06:53 - 43K bytes - Viewed (0) -
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; public XPathAPI() { xPath = createXPath(f -> {}); } /** * Creates an instance of {@link XPath} using the provided {@link Consumer} to configure the {@link XPathFactory}.
Registered: 2025-05-25 03:50 - Last Modified: 2025-03-15 06:52 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.xml.xpath.XPathEvaluationResult; import javax.xml.xpath.XPathException; import javax.xml.xpath.XPathNodes; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.beans.util.BeanUtil;
Registered: 2025-05-25 03:50 - Last Modified: 2025-03-15 06:52 - 11K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} return url.replaceAll("([^:])/+", "$1/"); } protected boolean isValidPath(final String path) { if (StringUtil.isBlank(path)) { return false; } final Matcher matcher = invalidUrlPattern.matcher(path); if (matcher.find()) { return false; } return true; }
Registered: 2025-05-25 03:50 - Last Modified: 2025-03-15 06:52 - 21.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import java.util.stream.Collectors; import javax.xml.xpath.XPathEvaluationResult; import javax.xml.xpath.XPathException; import javax.xml.xpath.XPathNodes; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.lang.StringUtil;
Registered: 2025-05-25 03:50 - Last Modified: 2025-03-15 06:52 - 7K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
# Remove empty testcases for p in testsuite._elem.xpath(".//testcase"): if not len(p): # pylint: disable=g-explicit-length-test testsuite._elem.remove(p) # Change "testsuite > testcase,system-out" to "testsuite > testcase > error" for p in testsuite._elem.xpath(".//system-out"): for c in p.getparent().xpath(".//error | .//failure"): c.text = p.text p.getparent().remove(p)
Registered: 2025-05-27 12:39 - Last Modified: 2023-09-18 19:00 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
import javax.xml.XMLConstants; import javax.xml.namespace.NamespaceContext; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathExpressionException; import javax.xml.xpath.XPathNodes; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.beans.util.BeanUtil;
Registered: 2025-05-25 03:50 - Last Modified: 2025-03-15 06:52 - 20.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java
Registered: 2025-05-26 08:04 - Last Modified: 2025-03-15 06:53 - 5.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
* It uses XPath expressions to extract text content from HTML documents. * <p> * This class provides methods to configure the XPath expressions, parser features, and properties. * It also includes caching mechanism for XPathAPI instances to improve performance. * </p> * <p> * The extracted text is obtained from the nodes selected by the {@code targetNodePath} XPath expression.
Registered: 2025-05-25 03:50 - Last Modified: 2025-03-15 06:52 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
import org.lastaflute.core.security.PrimaryCipher; public class ParameterUtil { private static final String CIPHER_PREFIX = "{cipher}"; protected static final String XPATH_PREFIX = "field.xpath."; protected static final String META_PREFIX = "field.meta."; protected static final String VALUE_PREFIX = "field.value."; protected static final String SCRIPT_PREFIX = "field.script.";
Registered: 2025-05-26 08:04 - Last Modified: 2025-03-15 06:53 - 6.5K bytes - Viewed (0)