org.apache.myfaces.view.facelets.el
Class VariableMapperBase

java.lang.Object
  extended by javax.el.VariableMapper
      extended by org.apache.myfaces.view.facelets.el.VariableMapperBase
Direct Known Subclasses:
DefaultVariableMapper, VariableMapperWrapper

public abstract class VariableMapperBase
extends javax.el.VariableMapper

Defines an interface to detect when an EL expression has been resolved by a facelets variable mapper and in that way allow cache it if it is possible. This class should be implemented by any "facelets contextual" variable mapper.

Since:
2.0.8
Author:
Leonardo Uribe

Constructor Summary
VariableMapperBase()
           
 
Method Summary
abstract  void afterConstructELExpression()
          Cleanup all initialization done.
abstract  void beforeConstructELExpression()
          Indicates an expression will be resolved, so preparations should be done to detect if a contextual variable has been resolved.
abstract  boolean isAnyFaceletsVariableResolved()
          Check if a variable has been resolved by this variable mapper or any parent "facelets contextual" variable mapper.
 
Methods inherited from class javax.el.VariableMapper
resolveVariable, setVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableMapperBase

public VariableMapperBase()
Method Detail

isAnyFaceletsVariableResolved

public abstract boolean isAnyFaceletsVariableResolved()
Check if a variable has been resolved by this variable mapper or any parent "facelets contextual" variable mapper.

Returns:

beforeConstructELExpression

public abstract void beforeConstructELExpression()
Indicates an expression will be resolved, so preparations should be done to detect if a contextual variable has been resolved.


afterConstructELExpression

public abstract void afterConstructELExpression()
Cleanup all initialization done.



Copyright © 2014 The Apache Software Foundation. All Rights Reserved.