Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getTextContent (0.1 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                            value = pruneNode(value, getCrawlingConfig(responseData));
                        }
                        putResultDataBody(dataMap, entry.getKey(), value != null ? value.getTextContent() : null);
                        break;
                    }
                } catch (final XPathExpressionException e) {
                    logger.warn("Could not parse a value of {}:{}", entry.getKey(), entry.getValue(), e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        def fixProgramListings(Document doc) {
            doc.documentElement.depthFirst().findAll { it.name() == 'programlisting' || it.name() == 'screen' }.each {Element element ->
                element.setTextContent(normalise(element.getTextContent()))
            }
        }
    
        static String normalise(String content) {
            content.replace('\t', '    ').stripIndent().replace('\r\n', '\n')
        }
    
        def transformApiLinks(Document doc) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

                        final Node node = nodeList.get(i);
                        strList.add(node.getTextContent());
                    }
                    return strList.toArray(n -> new String[n]);
                case NODE:
                    final Node node = (Node) xObj.value();
                    return new String[] { node.getTextContent() };
                default:
                    Object obj = xObj.value();
                    if (obj == null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                            strList.add(node.getTextContent());
                        }
                        buf.append(getResultDataBody(entry.getKey(), strList));
                        break;
                    case NODE:
                        final Node node = (Node) xObj.value();
                        buf.append(getResultDataBody(entry.getKey(), node.getTextContent()));
                        break;
                    default:
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                        if ("timestamp".equalsIgnoreCase(node.getNodeName())) {
                            timestamp = node.getTextContent();
                        } else if ("buildNumber".equalsIgnoreCase(node.getNodeName())) {
                            buildNumber = node.getTextContent();
                        }
                    }
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                for (int i = 0; i < nodeList.size(); i++) {
                    final Node node = nodeList.get(i);
                    buf.append(node.getTextContent()).append(' ');
                }
                return new ExtractData(buf.toString().replaceAll("\\s+", " ").trim());
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                        for (int i = 0; i < nodeList.size(); i++) {
                            final Node node = nodeList.get(i);
                            nodeStrList.add(node.getTextContent());
                        }
                    } catch (final XPathExpressionException e) {
                        logger.warn("Could not parse a value of " + entry.getKey() + ":" + entry.getValue(), e);
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top