org.eclipse.jst.jsf.designtime.el
Class DefaultDTVariableResolver
java.lang.Object
org.eclipse.jst.jsf.designtime.el.AbstractDTVariableResolver
org.eclipse.jst.jsf.designtime.el.DefaultDTVariableResolver
-
public class DefaultDTVariableResolver
- extends
AbstractDTVariableResolver
A design time proxy for the runtime VariableResolver. This is used to
resolve the first element of a var.prop.prop2 type of sub-expression in
a JSF EL expression
Clients may sub-class
Methods inherited from class java.lang.Object
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
DefaultDTVariableResolver
public DefaultDTVariableResolver()
resolveVariable
public
ISymbol resolveVariable(
DTFacesContext context,
java.lang.String name,
IAdaptable externalContextKey)
- Tries to mirror the JSF 1.1 runtime VariableResolver
-
-
Specified by:
-
resolveVariable
in class
AbstractDTVariableResolver
-
-
externalContextKey
- -- an adapter that identifies the external application
context within which to resolve name. For example, this could be an IFile
representing a JavaServer Page in which we want to resolve the symbol name
-
Returns:
- the symbol corresponding to name in the faces context or null
if not found
-
See Also:
-
org.eclipse.jst.jsf.designtime.el.AbstractDTVariableResolver#resolveVariable(org.eclipse.jst.jsf.designtime.context.DTFacesContext, java.lang.String, org.eclipse.core.runtime.IAdaptable)
getAllVariables
public
ISymbol[] getAllVariables(
DTFacesContext facesContext,
IAdaptable externalContextKey)
-
-
Specified by:
-
getAllVariables
in class
AbstractDTVariableResolver
-
-
Parameters:
-
facesContext
- -
externalContextKey
-
-
Returns:
- all variables