org.apache.cocoon.components.expression.jexl
Class JSIntrospector

java.lang.Object
  extended by org.apache.commons.jexl.util.introspection.UberspectImpl
      extended by org.apache.cocoon.components.expression.jexl.JSIntrospector
All Implemented Interfaces:
org.apache.commons.jexl.util.introspection.Uberspect, org.apache.commons.jexl.util.introspection.UberspectLoggable

public class JSIntrospector
extends org.apache.commons.jexl.util.introspection.UberspectImpl

Jexl Introspector that supports Rhino JavaScript objects as well as Java Objects.

Version:
$Id: JSIntrospector.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Nested Class Summary
static class JSIntrospector.NativeArrayIterator
           
 
Nested classes/interfaces inherited from class org.apache.commons.jexl.util.introspection.UberspectImpl
org.apache.commons.jexl.util.introspection.UberspectImpl.VelGetterImpl, org.apache.commons.jexl.util.introspection.UberspectImpl.VelMethodImpl, org.apache.commons.jexl.util.introspection.UberspectImpl.VelSetterImpl
 
Constructor Summary
JSIntrospector()
           
 
Method Summary
 Iterator getIterator(Object obj, org.apache.commons.jexl.util.introspection.Info i)
           
 org.apache.commons.jexl.util.introspection.VelMethod getMethod(Object obj, String methodName, Object[] args, org.apache.commons.jexl.util.introspection.Info i)
           
 org.apache.commons.jexl.util.introspection.VelPropertyGet getPropertyGet(Object obj, String identifier, org.apache.commons.jexl.util.introspection.Info i)
           
 org.apache.commons.jexl.util.introspection.VelPropertySet getPropertySet(Object obj, String identifier, Object arg, org.apache.commons.jexl.util.introspection.Info i)
           
 
Methods inherited from class org.apache.commons.jexl.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

JSIntrospector

public JSIntrospector()
Method Detail

getIterator

public Iterator getIterator(Object obj,
                            org.apache.commons.jexl.util.introspection.Info i)
                     throws Exception
Specified by:
getIterator in interface org.apache.commons.jexl.util.introspection.Uberspect
Overrides:
getIterator in class org.apache.commons.jexl.util.introspection.UberspectImpl
Throws:
Exception

getMethod

public org.apache.commons.jexl.util.introspection.VelMethod getMethod(Object obj,
                                                                      String methodName,
                                                                      Object[] args,
                                                                      org.apache.commons.jexl.util.introspection.Info i)
                                                               throws Exception
Specified by:
getMethod in interface org.apache.commons.jexl.util.introspection.Uberspect
Overrides:
getMethod in class org.apache.commons.jexl.util.introspection.UberspectImpl
Throws:
Exception

getPropertyGet

public org.apache.commons.jexl.util.introspection.VelPropertyGet getPropertyGet(Object obj,
                                                                                String identifier,
                                                                                org.apache.commons.jexl.util.introspection.Info i)
                                                                         throws Exception
Specified by:
getPropertyGet in interface org.apache.commons.jexl.util.introspection.Uberspect
Overrides:
getPropertyGet in class org.apache.commons.jexl.util.introspection.UberspectImpl
Throws:
Exception

getPropertySet

public org.apache.commons.jexl.util.introspection.VelPropertySet getPropertySet(Object obj,
                                                                                String identifier,
                                                                                Object arg,
                                                                                org.apache.commons.jexl.util.introspection.Info i)
                                                                         throws Exception
Specified by:
getPropertySet in interface org.apache.commons.jexl.util.introspection.Uberspect
Overrides:
getPropertySet in class org.apache.commons.jexl.util.introspection.UberspectImpl
Throws:
Exception


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