Package de.xima.fc.gui.functions
Class FacesFunctions
java.lang.Object
de.xima.fc.gui.functions.FacesFunctions
Static methods that can be used within XHTML pages, e.g.
xi:escapeHTML('<strong>')
.- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
escapeHTML
(String value) static String
toJsonString
(Object value)
-
Constructor Details
-
FacesFunctions
public FacesFunctions()
-
-
Method Details
-
escapeHTML
- Parameters:
value
- Value to escape.- Returns:
- The value with HTML escaping applied.
-
toJsonString
- Parameters:
value
- A value to stringify.- Returns:
- A JSON string with the from the given object.
-