Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getTextContent (0.14 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/dsl/docbook/ClassDocPropertiesBuilder.java

                    element.removeChild(override);
                    inheritedValueTitleMapping.put(override.getTextContent(), element);
                }
                Node firstChild = element.getFirstChild();
                if (firstChild instanceof Text) {
                    firstChild.setTextContent(firstChild.getTextContent().replaceFirst("^\\s+", ""));
                }
                Node lastChild = element.getLastChild();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  3. 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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

                if (!(node instanceof Text)) {
                    return false;
                }
                Text text = (Text) node;
                if (!text.getTextContent().matches("\\s*")) {
                    return false;
                }
            }
            return true;
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                if (cells.size() != 1) {
                    throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr));
                }
                String methodName = cells.get(0).getTextContent().trim();
                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
                if (methods.isEmpty()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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