Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cloneNode (0.07 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                }
            });
            final FessXpathTransformer transformer = new FessXpathTransformer();
            transformer.init();
    
            final Node pruneNode = transformer.pruneNode(document.cloneNode(true), null);
            assertEquals(getXmlString(document), getXmlString(pruneNode));
            ComponentUtil.setFessConfig(null);
        }
    
        public void test_pruneNode_removeNoScript() throws Exception {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                for (int i = 0; i < list.size(); i++) {
                    if (buf == null) {
                        buf = new StringBuilder(1000);
                    }
                    Node node = list.get(i).cloneNode(true);
                    if (useGoogleOffOn) {
                        node = processGoogleOffOn(node, new ValueHolder<>(true));
                    }
                    node = pruneFunc.apply(node);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top