Class FacesFunctions


  • public class FacesFunctions
    extends Object
    Static methods that can be used within XHTML pages, e.g. xi:escapeHTML('<strong>').
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • FacesFunctions

        public FacesFunctions()
    • Method Detail

      • escapeHTML

        public static String escapeHTML​(String value)
        Parameters:
        value - Value to escape.
        Returns:
        The value with HTML escaping applied.
      • toJsonString

        public static String toJsonString​(Object value)
        Parameters:
        value - A value to stringify.
        Returns:
        A JSON string with the from the given object.