Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 



org.eclipse.jst.jsf.designtime.el
Class DefaultDTVariableResolver

java.lang.Object
  extended by 

org.eclipse.jst.jsf.designtime.el.AbstractDTVariableResolver
      extended by 
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


Constructor Summary
DefaultDTVariableResolver ()
           
 
Method Summary
  ISymbol[] getAllVariables ( DTFacesContext facesContext, IAdaptable externalContextKey)
           
  ISymbol resolveVariable ( DTFacesContext context, java.lang.String name, IAdaptable externalContextKey)
          Tries to mirror the JSF 1.1 runtime VariableResolver
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDTVariableResolver

public DefaultDTVariableResolver()
Method Detail

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



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire