org.mvel
Class PropertyAccessor

java.lang.Object
  extended by org.mvel.PropertyAccessor

public class PropertyAccessor
extends java.lang.Object


Constructor Summary
PropertyAccessor(char[] property, int offset, int end, java.lang.Object ctx, VariableResolverFactory resolver)
           
PropertyAccessor(char[] property, java.lang.Object ctx)
           
PropertyAccessor(char[] property, java.lang.Object ctx, java.lang.Object thisRef, VariableResolverFactory resolver, java.lang.Object thisReference)
           
PropertyAccessor(char[] property, java.lang.Object ctx, VariableResolverFactory resolver, java.lang.Object thisReference)
           
PropertyAccessor(java.lang.String property, java.lang.Object ctx)
           
PropertyAccessor(VariableResolverFactory resolver, java.lang.Object thisReference)
           
 
Method Summary
static void clearPropertyResolverCache()
           
static java.lang.Object get(char[] property, int offset, int end, java.lang.Object ctx, VariableResolverFactory resolver)
           
static java.lang.Object get(char[] property, java.lang.Object ctx, VariableResolverFactory resolver, java.lang.Object thisReference)
           
static java.lang.Object get(java.lang.String property, java.lang.Object ctx)
           
static java.lang.Object get(java.lang.String property, java.lang.Object ctx, VariableResolverFactory resolver, java.lang.Object thisReference)
           
static void reportCacheSizes()
           
static void set(java.lang.Object ctx, java.lang.String property, java.lang.Object value)
           
static void set(java.lang.Object ctx, VariableResolverFactory resolver, java.lang.String property, java.lang.Object value)
           
protected  int trimLeft(int pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyAccessor

public PropertyAccessor(char[] property,
                        java.lang.Object ctx)

PropertyAccessor

public PropertyAccessor(char[] property,
                        java.lang.Object ctx,
                        VariableResolverFactory resolver,
                        java.lang.Object thisReference)

PropertyAccessor

public PropertyAccessor(char[] property,
                        java.lang.Object ctx,
                        java.lang.Object thisRef,
                        VariableResolverFactory resolver,
                        java.lang.Object thisReference)

PropertyAccessor

public PropertyAccessor(VariableResolverFactory resolver,
                        java.lang.Object thisReference)

PropertyAccessor

public PropertyAccessor(char[] property,
                        int offset,
                        int end,
                        java.lang.Object ctx,
                        VariableResolverFactory resolver)

PropertyAccessor

public PropertyAccessor(java.lang.String property,
                        java.lang.Object ctx)
Method Detail

get

public static java.lang.Object get(java.lang.String property,
                                   java.lang.Object ctx)

get

public static java.lang.Object get(char[] property,
                                   java.lang.Object ctx,
                                   VariableResolverFactory resolver,
                                   java.lang.Object thisReference)

get

public static java.lang.Object get(char[] property,
                                   int offset,
                                   int end,
                                   java.lang.Object ctx,
                                   VariableResolverFactory resolver)

get

public static java.lang.Object get(java.lang.String property,
                                   java.lang.Object ctx,
                                   VariableResolverFactory resolver,
                                   java.lang.Object thisReference)

set

public static void set(java.lang.Object ctx,
                       java.lang.String property,
                       java.lang.Object value)

set

public static void set(java.lang.Object ctx,
                       VariableResolverFactory resolver,
                       java.lang.String property,
                       java.lang.Object value)

trimLeft

protected int trimLeft(int pos)

clearPropertyResolverCache

public static void clearPropertyResolverCache()

reportCacheSizes

public static void reportCacheSizes()