com.ideo.sweetdevria.tag.util
Class ELUtil

java.lang.Object
  extended by com.ideo.sweetdevria.tag.util.ELUtil

public class ELUtil
extends java.lang.Object


Constructor Summary
ELUtil()
           
 
Method Summary
static java.lang.Object evalEL(java.lang.String propertyName, java.lang.String el, java.lang.Class classToCast, javax.servlet.jsp.tagext.Tag tag, javax.servlet.jsp.PageContext pageContext)
          Evaluate any String wich begin with '${' and finish with '}' as an Expression Language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ELUtil

public ELUtil()
Method Detail

evalEL

public static java.lang.Object evalEL(java.lang.String propertyName,
                                      java.lang.String el,
                                      java.lang.Class classToCast,
                                      javax.servlet.jsp.tagext.Tag tag,
                                      javax.servlet.jsp.PageContext pageContext)
Evaluate any String wich begin with '${' and finish with '}' as an Expression Language. If the string don't have this format, it's returned without be interpreted.

Parameters:
propertyName - property's name
el -
classToCast - Class in wich cast the result
tag -
pageContext - context
Returns:
converted object if EL, else String el


Copyright © 2010 Ideo Technologies. All Rights Reserved.