Class MiscUtil
java.lang.Object
org.glassfish.admingui.common.util.MiscUtil
- Author:
- jdlee
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentgetDocument(String input) static jakarta.el.ValueExpressionsetValueExpression(String expression, Object value) This utility method can be used to create a ValueExpression and set its value.
-
Constructor Details
-
MiscUtil
public MiscUtil()
-
-
Method Details
-
setValueExpression
This utility method can be used to create a ValueExpression and set its value. An example usage might look like this:
ValueExpression ve = MiscUtil.setValueExpression("#{myMap}", new HashMap());- Parameters:
expression- The expression to create. Note that this requires the #{ and } wrappers.value- The value to which to set the ValueExpression- Returns:
- The newly created ValueExpression
-
getDocument
-