All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.weld.environment.servlet.util.TransparentELResolver Maven / Gradle / Ivy

There is a newer version: 1.0.1-Final
Show newest version
package org.jboss.weld.environment.servlet.util;

import java.beans.FeatureDescriptor;
import java.util.Iterator;

import javax.el.ELContext;
import javax.el.ELResolver;

/**
 * An ELResolver that behaves as though it is invisible, meaning it's
 * indempontent to the chain and the next ELResolver in the line will be
 * consulted.
 * 
 * @author Dan Allen
 */
public class TransparentELResolver extends ELResolver
{
   @Override
   public Class getCommonPropertyType(ELContext arg0, Object arg1)
   {
      return null;
   }

   @Override
   public Iterator getFeatureDescriptors(ELContext arg0, Object arg1)
   {
      return null;
   }

   @Override
   public Class getType(ELContext arg0, Object arg1, Object arg2)
   {
      return null;
   }

   @Override
   public Object getValue(ELContext arg0, Object arg1, Object arg2)
   {
      return null;
   }

   @Override
   public boolean isReadOnly(ELContext arg0, Object arg1, Object arg2)
   {
      return false;
   }

   @Override
   public void setValue(ELContext arg0, Object arg1, Object arg2, Object arg3)
   {
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy