org.glassfish.admingui.common.util
Class MiscUtil

java.lang.Object
  extended by org.glassfish.admingui.common.util.MiscUtil

public class MiscUtil
extends java.lang.Object

Author:
jdlee

Constructor Summary
MiscUtil()
           
 
Method Summary
static org.w3c.dom.Document getDocument(java.lang.String input)
           
static javax.el.ValueExpression setValueExpression(java.lang.String expression, java.lang.Object value)
          This utility method can be used to create a ValueExpression and set its value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiscUtil

public MiscUtil()
Method Detail

setValueExpression

public static javax.el.ValueExpression setValueExpression(java.lang.String expression,
                                                          java.lang.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());

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

public static org.w3c.dom.Document getDocument(java.lang.String input)


Copyright © 2012 GlassFish Community. All Rights Reserved.