Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        private String attrName;
        /** The custom attribute value to match */
        private String attrValue;
    
        /**
         * Creates a new PrunedTag instance with the specified tag name.
         *
         * @param tag the HTML tag name to match (e.g., "div", "span", "p")
         */
        public PrunedTag(final String tag) {
            this.tag = tag;
        }
    
        /**
         * Checks if this pruned tag configuration matches the given DOM node.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         * @return true if the node should be pruned, false otherwise
         */
        protected boolean isPrunedTag(final Node node, final PrunedTag[] prunedTags) {
            for (final PrunedTag prunedTag : prunedTags) {
                if (prunedTag.matches(node)) {
                    return true;
                }
            }
            return false;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top