- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for selectNodeList (0.18 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: Wed Jun 12 15:17:51 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: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 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: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18.9K 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: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 41.9K bytes - Viewed (0)