Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PrunedTag (0.05 sec)

  1. src/main/java/org/codelibs/fess/util/PrunedTag.java

    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.exception.FessSystemException;
    import org.w3c.dom.Node;
    
    public class PrunedTag {
        private final String tag;
        private String id;
        private String css;
        private String attrName;
        private String attrValue;
    
        public PrunedTag(final String tag) {
            this.tag = tag;
        }
    
        public boolean matches(final Node node) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

        public void test_hashCode() {
            PrunedTag prunedtag = new PrunedTag("tag");
    
            assertTrue(prunedtag.hashCode() >= 0);
    
        }
    
        public void test_equals() {
    
            PrunedTag prunedtag = new PrunedTag("tag");
    
            assertTrue(prunedtag.equals(prunedtag));
            assertEquals(false, prunedtag.equals(null));
            assertEquals(false, prunedtag.equals(""));
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.PrunedTag;
    import org.codelibs.nekohtml.parsers.DOMParser;
    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    import org.w3c.dom.Node;
    import org.xml.sax.InputSource;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                pruneNodeByTags(childNode, prunedTags);
            }
    
            return node;
        }
    
        protected boolean isPrunedTag(final Node node, final PrunedTag[] prunedTags) {
            for (final PrunedTag prunedTag : prunedTags) {
                if (prunedTag.matches(node)) {
                    return true;
                }
            }
            return false;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        String getCrawlerDocumentHtmlPrunedTags();
    
        default PrunedTag[] getCrawlerDocumentHtmlPrunedTagsAsArray() {
            PrunedTag[] tags = (PrunedTag[]) propMap.get("crawlerDocumentHtmlPrunedTags");
            if (tags == null) {
                tags = PrunedTag.parse(getCrawlerDocumentHtmlPrunedTags());
                propMap.put("crawlerDocumentHtmlPrunedTags", tags);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top