- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for selectNodeList (0.14 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* @param expression A valid XPath string. * @return A XPathNodes, should never be null. * * @throws XPathExpressionException */ public XPathNodes selectNodeList(final Node contextNode, final String expression) throws XPathExpressionException { return xPath.evaluateExpression(expression, contextNode, XPathNodes.class); } /**
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
parser.parse(inputSource); final Document document = parser.getDocument(); final StringBuilder buf = new StringBuilder(255); final XPathNodes nodeList = getXPathAPI().selectNodeList(document, targetNodePath); for (int i = 0; i < nodeList.size(); i++) { final Node node = nodeList.get(i); buf.append(node.getTextContent()).append(' '); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} return parser; } protected String getBaseHref(final Document document) { try { final XPathNodes list = getXPathAPI().selectNodeList(document, "//BASE"); if (list.size() > 0) { final Node node = list.get(0); final Node attrNode = node.getAttributes().getNamedItem("href");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
StringBuilder buf = null; XPathNodes list = null; try { list = getXPathAPI().selectNodeList(document, xpath); for (int i = 0; i < list.size(); i++) { if (buf == null) { buf = new StringBuilder(1000); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 42.9K bytes - Viewed (0)