org.apache.cocoon.el.impl.jexl
Class JSIntrospector

java.lang.Object
  extended byorg.apache.commons.jexl.util.introspection.UberspectImpl
      extended byorg.apache.cocoon.el.impl.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 1304280 2012-03-23 11:18:01Z ilgrosso $

Nested Class Summary
static class JSIntrospector.NativeArrayIterator
           
 
Nested classes 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
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
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
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
Throws:
Exception


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