- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for PrunedTag (0.08 seconds)
-
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.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 04:23:08 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
public void test_hashCode() { PrunedTag prunedtag = new PrunedTag("tag"); assertTrue(prunedtag.hashCode() >= 0); } @Test public void test_equals() { PrunedTag prunedtag = new PrunedTag("tag"); assertTrue(prunedtag.equals(prunedtag)); assertEquals(false, prunedtag.equals(null)); assertEquals(false, prunedtag.equals("")); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
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; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 55.3K bytes - Click Count (0) -
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.junit.jupiter.api.Test; import org.lastaflute.di.core.factory.SingletonLaContainerFactory; import org.w3c.dom.Node; import org.xml.sax.InputSource;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25.4K bytes - Click Count (0) -
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); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (0)