Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setIgnoreCommentTag (0.11 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            this.preloadSizeForCharset = preloadSizeForCharset;
        }
    
        public boolean isIgnoreCommentTag() {
            return ignoreCommentTag;
        }
    
        public void setIgnoreCommentTag(final boolean ignoreCommentTag) {
            this.ignoreCommentTag = ignoreCommentTag;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top