org.apache.cocoon.generation
Class VelocityGenerator.JSIntrospector

java.lang.Object
  extended by org.apache.velocity.util.introspection.UberspectImpl
      extended by org.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/interfaces 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
Specified by:
getIterator in interface org.apache.velocity.util.introspection.Uberspect
Overrides:
getIterator in class org.apache.velocity.util.introspection.UberspectImpl
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
Specified by:
getMethod in interface org.apache.velocity.util.introspection.Uberspect
Overrides:
getMethod in class org.apache.velocity.util.introspection.UberspectImpl
Throws:
Exception

getPropertyGet

public org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(Object obj,
                                                                            String identifier,
                                                                            org.apache.velocity.util.introspection.Info i)
                                                                     throws Exception
Specified by:
getPropertyGet in interface org.apache.velocity.util.introspection.Uberspect
Overrides:
getPropertyGet in class org.apache.velocity.util.introspection.UberspectImpl
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
Specified by:
getPropertySet in interface org.apache.velocity.util.introspection.Uberspect
Overrides:
getPropertySet in class org.apache.velocity.util.introspection.UberspectImpl
Throws:
Exception


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