org.hibernate.validator.internal.engine.messageinterpolation.el
Class RootResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by org.hibernate.validator.internal.engine.messageinterpolation.el.RootResolver

public class RootResolver
extends javax.el.ELResolver

Author:
Hardy Ferentschik

Field Summary
static String FORMATTER
          Name under which to bind a formatter to the EL context.
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
RootResolver()
           
 
Method Summary
 Class<?> getCommonPropertyType(javax.el.ELContext context, Object base)
           
 Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context, Object base)
           
 Class<?> getType(javax.el.ELContext context, Object base, Object property)
           
 Object getValue(javax.el.ELContext context, Object base, Object property)
           
 Object invoke(javax.el.ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
           
 boolean isReadOnly(javax.el.ELContext context, Object base, Object property)
           
 void setValue(javax.el.ELContext context, Object base, Object property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMATTER

public static final String FORMATTER
Name under which to bind a formatter to the EL context.

See Also:
Constant Field Values
Constructor Detail

RootResolver

public RootResolver()
Method Detail

getCommonPropertyType

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

getFeatureDescriptors

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

getType

public Class<?> getType(javax.el.ELContext context,
                        Object base,
                        Object property)
Specified by:
getType in class javax.el.ELResolver

getValue

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

isReadOnly

public boolean isReadOnly(javax.el.ELContext context,
                          Object base,
                          Object property)
Specified by:
isReadOnly in class javax.el.ELResolver

setValue

public void setValue(javax.el.ELContext context,
                     Object base,
                     Object property,
                     Object value)
Specified by:
setValue in class javax.el.ELResolver

invoke

public Object invoke(javax.el.ELContext context,
                     Object base,
                     Object method,
                     Class<?>[] paramTypes,
                     Object[] params)
Overrides:
invoke in class javax.el.ELResolver


Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved