Package de.xima.fc.gui.functions
Class FacesFunctions
- java.lang.Object
-
- de.xima.fc.gui.functions.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 Summary
Constructors Constructor Description FacesFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Enum<?>enumConstant(String enumClass, String name)Gets the enum constant of the specified enum class with the specified name.static StringescapeHTML(String value)static StringtoJsonString(Object value)
-
-
-
Method Detail
-
enumConstant
public static Enum<?> enumConstant(String enumClass, String name)
Gets the enum constant of the specified enum class with the specified name.- Parameters:
enumClass- The fully qualified enum class name.name- The name of the enum constant.- Returns:
- The enum constant.
-
escapeHTML
public static String escapeHTML(String value)
- Parameters:
value- Value to escape.- Returns:
- The value with HTML escaping applied.
-
-