net.jakubholy.jeeutils.jsfelcheck.expressionfinder.impl.jasper.variables
Class ContextVariableRegistry
java.lang.Object
net.jakubholy.jeeutils.jsfelcheck.expressionfinder.impl.jasper.variables.ContextVariableRegistry
- All Implemented Interfaces:
- ElVariableResolver
public class ContextVariableRegistry
- extends Object
- implements ElVariableResolver
Registry of local JSF EL variables defined in a view page used for resolving
them in a context-sensitive way.
It delegates the actual resolution to individual tag resolvers respecting the current
context (scope) starting from the innermost context and proceeding upwards.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextVariableRegistry
public ContextVariableRegistry()
registerResolverForTag
public ContextVariableRegistry registerResolverForTag(String tagQName,
TagJsfVariableResolver resolver)
resolveVariable
public Class<?> resolveVariable(String name)
- Description copied from interface:
ElVariableResolver
- Return the Class for the given (likely context-local) JSF EL variable or
null if it cannot be resolved (is unknown).
- Specified by:
resolveVariable in interface ElVariableResolver
extractContextVariables
public void extractContextVariables(PageNode jspTag,
AttributesValidationResult resolvedJsfExpressions)
throws DeclareTypeOfVariableException
- Throws:
DeclareTypeOfVariableException
discardContextFor
public void discardContextFor(PageNode jspTag)
Copyright © 2011. All Rights Reserved.