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

java.lang.Object
  extended by javax.el.ELContext
      extended by com.sun.jersey.server.linking.el.LinkELContext

public class LinkELContext
extends javax.el.ELContext

An ELContext that encapsulates the response information for use by the expression evaluator.

Author:
mh124079

Constructor Summary
LinkELContext(Object entity, Object resource)
          Convenience constructor for the common case where a context where the entity and instance are the same.
LinkELContext(Object entity, Object resource, Object instance)
          Construct a new context
 
Method Summary
 javax.el.ELResolver getELResolver()
           
 javax.el.FunctionMapper getFunctionMapper()
           
 javax.el.VariableMapper getVariableMapper()
           
 
Methods inherited from class javax.el.ELContext
getContext, getLocale, isPropertyResolved, putContext, setLocale, setPropertyResolved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkELContext

public LinkELContext(Object entity,
                     Object resource)
Convenience constructor for the common case where a context where the entity and instance are the same. Equivalent to LinkELContext(entity, resource, entity)

Parameters:
entity -
resource -

LinkELContext

public LinkELContext(Object entity,
                     Object resource,
                     Object instance)
Construct a new context

Parameters:
entity - the entity returned from the resource method
resource - the resource class instance that returned the entity
instance - the instance that contains the entity, e.g. the value of a field within an entity class.
Method Detail

getELResolver

public javax.el.ELResolver getELResolver()
Specified by:
getELResolver in class javax.el.ELContext

getFunctionMapper

public javax.el.FunctionMapper getFunctionMapper()
Specified by:
getFunctionMapper in class javax.el.ELContext

getVariableMapper

public javax.el.VariableMapper getVariableMapper()
Specified by:
getVariableMapper in class javax.el.ELContext


Copyright © 2013 Oracle Corporation. All Rights Reserved.