Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prettyPrint (0.05 sec)

  1. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint\"></pre>", value);
    
            code = "aaa";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint\">aaa</pre>", value);
    
            code = "aaa\nbbb";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

        }
    
        def format(Iterable<? extends Node> nodes, boolean prettyPrint = false) {
            StringBuilder builder = new StringBuilder()
            nodes.each { node ->
                format(node, builder, 0, prettyPrint, prettyPrint)
            }
            return builder.toString()
        }
    
        def format(Node node, Appendable target, int depth, boolean prettyPrint, boolean indentSelf) {
            if (node instanceof Element) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
Back to top