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
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

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




Class AbstractDataModelVariableFactory

  extended by 

public abstract class AbstractDataModelVariableFactory
extends java.lang.Object

A framework provided variable factory for EL model objects that are constructed based on DataModel's dervied from an EL expression.

Constructor Summary
AbstractDataModelVariableFactory ()
Method Summary
  ISymbol createDefaultSymbol (java.lang.String symbolName)
          Deprecated. use JSFSymbolFactory.createDefaultSymbol instead.
  ISymbol createFromType (java.lang.String symbolName, org.eclipse.jst.jsf.common.internal.types.ValueType valueType, IJavaProject javaProject)
          Implements default rules for taking an non-array value expression and resolving it to a ISymbol modelling a JSF DataModel
 org.eclipse.jst.jsf.common.internal.types.ValueType createValueExpression (java.lang.String elText, IStructuredDocumentContext elContext, IFile file)
          Deprecated. use JSFSymbolFactory.getValueTypeFromEL instead.
  JSFSymbolFactory getSymbolFactory ()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public AbstractDataModelVariableFactory()
Method Detail


public final org.eclipse.jst.jsf.common.internal.types.ValueType createValueExpression(java.lang.String elText,
IStructuredDocumentContext elContext,
                                                                                       IFile file)
Deprecated. use JSFSymbolFactory.getValueTypeFromEL instead.

elText - The EL expression text. Must not be null
elContext - The document context pointing to elText in the source document. Must not be null
file - The workspace resource that contains elText. Must not be null.
the value expression resolved from elText or null if it cannot be resolved or elText doesn't resolve to value expression (i.e. is a method expression)


public final 
JSFSymbolFactory getSymbolFactory()
the symbol factory used by this variable factory


ISymbol createFromType(java.lang.String symbolName,
                              org.eclipse.jst.jsf.common.internal.types.ValueType valueType,
                              IJavaProject javaProject)
Implements default rules for taking an non-array value expression and resolving it to a ISymbol modelling a JSF DataModel

symbolName -
valueType -
javaProject -
a symbol where valueType is considered to be the base type upon which a data model would be created. This combines the possibility that the value expression is either an explicit DataModel implementation or a non-DataModel type for which JSF be default provides an implicit wrapper model. List is treated as a special case here, since their are two subcases: 1) the list is a raw type, in which case it must be treated as implicit and opaque (as to the type of the variable created) 2) the list has Java 5 type argument information that can be used to infer the type of the row variable


public final 
ISymbol createDefaultSymbol(java.lang.String symbolName)
Deprecated. use JSFSymbolFactory.createDefaultSymbol instead.

symbolName - The name of the symbol to create. Must not be null
a default symbol that eliminates bogus warnings for this dataTable's row variable in cases where something better is resolvable. Note that this is not ideal, since will result in any property being accepted on the variable with this name.

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