org.apache.cocoon.generation
Class VelocityGenerator.JSIntrospector.JSPropertyGet

java.lang.Object
  extended by org.apache.cocoon.generation.VelocityGenerator.JSIntrospector.JSPropertyGet
All Implemented Interfaces:
org.apache.velocity.util.introspection.VelPropertyGet
Enclosing class:
VelocityGenerator.JSIntrospector

public static class VelocityGenerator.JSIntrospector.JSPropertyGet
extends Object
implements org.apache.velocity.util.introspection.VelPropertyGet


Constructor Summary
VelocityGenerator.JSIntrospector.JSPropertyGet(org.mozilla.javascript.Scriptable scope, String name)
           
 
Method Summary
 String getMethodName()
           
 Object invoke(Object thisArg)
           
 boolean isCacheable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityGenerator.JSIntrospector.JSPropertyGet

public VelocityGenerator.JSIntrospector.JSPropertyGet(org.mozilla.javascript.Scriptable scope,
                                                      String name)
Method Detail

invoke

public Object invoke(Object thisArg)
              throws Exception
Specified by:
invoke in interface org.apache.velocity.util.introspection.VelPropertyGet
Throws:
Exception

isCacheable

public boolean isCacheable()
Specified by:
isCacheable in interface org.apache.velocity.util.introspection.VelPropertyGet

getMethodName

public String getMethodName()
Specified by:
getMethodName in interface org.apache.velocity.util.introspection.VelPropertyGet


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.