org.apache.cocoon.generation
Class VelocityGenerator.JSIntrospector

java.lang.Object
  extended byorg.apache.velocity.util.introspection.UberspectImpl
      extended byorg.apache.cocoon.generation.VelocityGenerator.JSIntrospector
All Implemented Interfaces:
org.apache.velocity.util.introspection.Uberspect, org.apache.velocity.util.introspection.UberspectLoggable
Enclosing class:
VelocityGenerator

public static class VelocityGenerator.JSIntrospector
extends org.apache.velocity.util.introspection.UberspectImpl

Velocity Introspector that supports Rhino JavaScript objects as well as Java Objects


Nested Class Summary
static class VelocityGenerator.JSIntrospector.JSMethod
           
static class VelocityGenerator.JSIntrospector.JSPropertyGet
           
static class VelocityGenerator.JSIntrospector.JSPropertySet
           
static class VelocityGenerator.JSIntrospector.NativeArrayIterator
           
static class VelocityGenerator.JSIntrospector.ScriptableIterator
           
 
Nested classes inherited from class org.apache.velocity.util.introspection.UberspectImpl
org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl, org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl, org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
 
Constructor Summary
VelocityGenerator.JSIntrospector()
           
 
Method Summary
 Iterator getIterator(Object obj, org.apache.velocity.util.introspection.Info i)
           
 org.apache.velocity.util.introspection.VelMethod getMethod(Object obj, String methodName, Object[] args, org.apache.velocity.util.introspection.Info i)
           
 org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(Object obj, String identifier, org.apache.velocity.util.introspection.Info i)
           
 org.apache.velocity.util.introspection.VelPropertySet getPropertySet(Object obj, String identifier, Object arg, org.apache.velocity.util.introspection.Info i)
           
 
Methods inherited from class org.apache.velocity.util.introspection.UberspectImpl
init, setRuntimeLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityGenerator.JSIntrospector

public VelocityGenerator.JSIntrospector()
Method Detail

getIterator

public Iterator getIterator(Object obj,
                            org.apache.velocity.util.introspection.Info i)
                     throws Exception
Throws:
Exception

getMethod

public org.apache.velocity.util.introspection.VelMethod getMethod(Object obj,
                                                                  String methodName,
                                                                  Object[] args,
                                                                  org.apache.velocity.util.introspection.Info i)
                                                           throws Exception
Throws:
Exception

getPropertyGet

public org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(Object obj,
                                                                            String identifier,
                                                                            org.apache.velocity.util.introspection.Info i)
                                                                     throws Exception
Throws:
Exception

getPropertySet

public org.apache.velocity.util.introspection.VelPropertySet getPropertySet(Object obj,
                                                                            String identifier,
                                                                            Object arg,
                                                                            org.apache.velocity.util.introspection.Info i)
                                                                     throws Exception
Throws:
Exception


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.