com.sun.jersey.server.linking.el
Class ResponseContextResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by com.sun.jersey.server.linking.el.ResponseContextResolver

public class ResponseContextResolver
extends javax.el.ELResolver

The initial context resolver that resolves the entity and resource objects used at the start of an EL expression.

Author:
mh124079

Field Summary
static String ENTITY_OBJECT
           
static String INSTANCE_OBJECT
           
static String RESOURCE_OBJECT
           
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
ResponseContextResolver(Object entity, Object resource, Object instance)
           
 
Method Summary
 Class<?> getCommonPropertyType(javax.el.ELContext elc, Object o)
           
 Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext elc, Object o)
           
 Class<?> getType(javax.el.ELContext elc, Object o, Object o1)
           
 Object getValue(javax.el.ELContext elc, Object base, Object property)
           
 boolean isReadOnly(javax.el.ELContext elc, Object o, Object o1)
           
 void setValue(javax.el.ELContext elc, Object o, Object o1, Object o2)
           
 
Methods inherited from class javax.el.ELResolver
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTITY_OBJECT

public static final String ENTITY_OBJECT
See Also:
Constant Field Values

RESOURCE_OBJECT

public static final String RESOURCE_OBJECT
See Also:
Constant Field Values

INSTANCE_OBJECT

public static final String INSTANCE_OBJECT
See Also:
Constant Field Values
Constructor Detail

ResponseContextResolver

public ResponseContextResolver(Object entity,
                               Object resource,
                               Object instance)
Method Detail

getValue

public Object getValue(javax.el.ELContext elc,
                       Object base,
                       Object property)
Specified by:
getValue in class javax.el.ELResolver

getType

public Class<?> getType(javax.el.ELContext elc,
                        Object o,
                        Object o1)
Specified by:
getType in class javax.el.ELResolver

setValue

public void setValue(javax.el.ELContext elc,
                     Object o,
                     Object o1,
                     Object o2)
Specified by:
setValue in class javax.el.ELResolver

isReadOnly

public boolean isReadOnly(javax.el.ELContext elc,
                          Object o,
                          Object o1)
Specified by:
isReadOnly in class javax.el.ELResolver

getFeatureDescriptors

public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext elc,
                                                         Object o)
Specified by:
getFeatureDescriptors in class javax.el.ELResolver

getCommonPropertyType

public Class<?> getCommonPropertyType(javax.el.ELContext elc,
                                      Object o)
Specified by:
getCommonPropertyType in class javax.el.ELResolver


Copyright © 2013 Oracle Corporation. All Rights Reserved.