
org.richfaces.el.CapturingELContext Maven / Gradle / Ivy
/**
*
*/
package org.richfaces.el;
import java.beans.FeatureDescriptor;
import java.util.Collection;
import java.util.Iterator;
import java.util.Locale;
import java.util.Map;
import javax.el.ELContext;
import javax.el.ELResolver;
import javax.el.FunctionMapper;
import javax.el.ValueExpression;
import javax.el.VariableMapper;
import javax.faces.context.FacesContext;
import javax.faces.el.CompositeComponentExpressionHolder;
import org.richfaces.validator.GraphValidatorState;
/**
* This class wraps original ELContext and capture whole call stack to the target object so it could be used to extract semantic
* information like annotations or Jena Model properties.
*
* @author asmirnov
*
*/
public class CapturingELContext extends ELContext {
private final ELContext parent;
private ValueReference reference = null;
private final InterceptingResolver resolver;
public CapturingELContext(ELContext parent,Map