Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getSingleNodeValue (0.25 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            final Document document = getDocument(data);
            String value = transformer.getSingleNodeValue(document, "//BODY", node -> node);
            assertEquals("aaa", value);
    
            value = transformer.getSingleNodeValue(document, "//META[@name='keywords']/@content", node -> node);
            assertEquals("bbb", value);
    
            value = transformer.getSingleNodeValue(document, "//META[@name='keywords']/@content|//BODY", node -> node);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    getSingleNodeValue(document, getLangXpath(fessConfig, xpathConfigMap), node -> pruneNode(node, crawlingConfig)));
            if (lang != null) {
                putResultDataBody(dataMap, fessConfig.getIndexFieldLang(), lang);
            }
            // title
            // content
            final String body = getSingleNodeValue(document, getContentXpath(fessConfig, xpathConfigMap),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top