org.apache.cocoon.generation
Class VelocityGenerator.JSIntrospector.JSMethod
java.lang.Object
org.apache.cocoon.generation.VelocityGenerator.JSIntrospector.JSMethod
- All Implemented Interfaces:
- org.apache.velocity.util.introspection.VelMethod
- Enclosing class:
- VelocityGenerator.JSIntrospector
public static class VelocityGenerator.JSIntrospector.JSMethod
- extends Object
- implements org.apache.velocity.util.introspection.VelMethod
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityGenerator.JSIntrospector.JSMethod
public VelocityGenerator.JSIntrospector.JSMethod(org.mozilla.javascript.Scriptable scope,
String name)
invoke
public Object invoke(Object thisArg,
Object[] args)
throws Exception
- Specified by:
invoke
in interface org.apache.velocity.util.introspection.VelMethod
- Throws:
Exception
isCacheable
public boolean isCacheable()
- Specified by:
isCacheable
in interface org.apache.velocity.util.introspection.VelMethod
getMethodName
public String getMethodName()
- Specified by:
getMethodName
in interface org.apache.velocity.util.introspection.VelMethod
getReturnType
public Class getReturnType()
- Specified by:
getReturnType
in interface org.apache.velocity.util.introspection.VelMethod
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.