public class MiscUtil extends Object
Constructor and Description |
---|
MiscUtil() |
Modifier and Type | Method and Description |
---|---|
static Document |
getDocument(String input) |
static javax.el.ValueExpression |
setValueExpression(String expression,
Object value)
This utility method can be used to create a ValueExpression and set its value.
|
public static javax.el.ValueExpression setValueExpression(String expression, Object value)
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());
expression
- The expression to create. Note that this requires the #{ and } wrappers.value
- The value to which to set the ValueExpressionCopyright © 2018. All rights reserved.