com.opensymphony.webwork.util
Class VelocityWebWorkUtil
java.lang.Object
com.opensymphony.webwork.util.WebWorkUtil
com.opensymphony.webwork.util.VelocityWebWorkUtil
- public class VelocityWebWorkUtil
- extends WebWorkUtil
- Author:
- CameronBraid
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityWebWorkUtil
public VelocityWebWorkUtil(org.apache.velocity.context.Context ctx,
com.opensymphony.xwork.util.OgnlValueStack stack,
HttpServletRequest request,
HttpServletResponse response)
evaluate
public String evaluate(String expression)
throws IOException,
org.apache.velocity.exception.ResourceNotFoundException,
org.apache.velocity.exception.MethodInvocationException,
org.apache.velocity.exception.ParseErrorException
- Throws:
IOException
org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.MethodInvocationException
org.apache.velocity.exception.ParseErrorException
htmlEncode
public String htmlEncode(Object obj)
toInt
public int toInt(long aLong)
toLong
public long toLong(int anInt)
toLong
public long toLong(String aLong)
toString
public String toString(long aLong)
toString
public String toString(int anInt)