Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setIgnoreCommentTag (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            xmlExtractor.setIgnoreCommentTag(true);
            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertFalse(content.contains("コメント"));
            xmlExtractor.setIgnoreCommentTag(false);
        }
    
        public void test_getXml_sjis() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            return ignoreCommentTag;
        }
    
        /**
         * Sets whether to ignore comment tags.
         * @param ignoreCommentTag true to ignore comment tags, false otherwise.
         */
        public void setIgnoreCommentTag(final boolean ignoreCommentTag) {
            this.ignoreCommentTag = ignoreCommentTag;
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top