@Test public void testH() { assertThat(Functions.h(null), is("")); assertThat(Functions.h(""), is("")); assertThat(Functions.h("<a href=\"\">"), is( "&lt;a href=&quot;&quot;&gt;")); assertThat(Functions.h("<a href=''>"), is("&lt;a href=&#39;&#39;&gt;")); assertThat(Functions.h("&lt;"), is("&amp;lt;")); assertThat(Functions.h(new boolean[] { true, false }), is( "[true, false]")); assertThat(Functions.h(new int[] { 1, 2, 3 }), is("[1, 2, 3]")); assertThat(Functions.h(new short[] { 1, 2, 3 }), is("[1, 2, 3]")); assertThat(Functions.h(new long[] { 1, 2, 3 }), is("[1, 2, 3]")); assertThat(Functions.h(new byte[] { 1, 2, 3 }), is("[1, 2, 3]")); assertThat(Functions.h(new double[] { 1, 2, 3 }), is( "[1.0, 2.0, 3.0]")); assertThat(Functions.h(new float[] { 1, 2, 3 }), is("[1.0, 2.0, 3.0]")); assertThat(Functions.h(new char[] { 'a', 'b', 'c' }), is("[a, b, c]")); assertThat(Functions.h(new String[] { "a", "b", "c" }), is( "[a, b, c]")); }
public static String h(Object input) { return HtmlEscapeUtils.htmlEscape(input); }
Functions { public static String h(Object input) { return HtmlEscapeUtils.htmlEscape(input); } }
Functions { public static String h(Object input) { return HtmlEscapeUtils.htmlEscape(input); } private  Functions(); }
Functions { public static String h(Object input) { return HtmlEscapeUtils.htmlEscape(input); } private  Functions(); static String h(Object input); static String u(String value); static String br(String value); static String cut(String value, int length); static String link(String value); static String mapToQuery(Map<String, ?> map); @Deprecated static String mapToQuery(Map<String, ?> map,
            BeanWrapper beanWrapper); static String query(Object params); static String js(String value); static String hjs(String input); }
Functions { public static String h(Object input) { return HtmlEscapeUtils.htmlEscape(input); } private  Functions(); static String h(Object input); static String u(String value); static String br(String value); static String cut(String value, int length); static String link(String value); static String mapToQuery(Map<String, ?> map); @Deprecated static String mapToQuery(Map<String, ?> map,
            BeanWrapper beanWrapper); static String query(Object params); static String js(String value); static String hjs(String input);  }