Skip navigation links
oracle.jdeveloper.webapp.el
Class DefaultScopedVariableProvider
java.lang.Object
oracle.jdeveloper.el.VariableProvider
oracle.jdeveloper.el.AbstractVariableProvider
oracle.jdeveloper.webapp.el.DefaultScopedVariableProvider
- All Implemented Interfaces:
- Displayable
- Direct Known Subclasses:
- IterationScopedVariableProvider
-
public class DefaultScopedVariableProvider
- extends oracle.jdeveloper.el.AbstractVariableProvider
A VariableProvider for scoped variables such as dataTable's var property Created from JspVariableProvider & CollectionBasedJspVariableGatherer
Method Summary |
java.util.Set<oracle.jdeveloper.el.Method> |
getMethods(Context context, java.lang.Object location, java.util.List<java.lang.String> propertyNameTokens, java.util.Map cache)
|
java.util.Set |
getProperties(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type, java.util.List variableNameTokens, java.util.Map cache)
|
oracle.jdeveloper.el.Property |
getProperty(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type, java.util.List propertyNameTokens, java.util.Map cache)
|
oracle.bali.xml.model.dependency.Reference |
getReference(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type, java.util.List<java.lang.String> propertyNameTokens, java.util.List<oracle.bali.xml.model.dependency.Reference> previousTokenReferences, oracle.bali.xml.model.XmlContext xmlContext, org.w3c.dom.Node node, int start, int end, java.util.Map cache)
|
java.util.Set |
getVariables(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type, java.util.Map cache)
|
protected void |
ignoreChildren(java.lang.String var)
Ignore the children of the var argument |
protected void |
initializeVariables(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type, java.util.Map cache, java.util.Map<java.lang.String,oracle.jdeveloper.el.Property> varToPropertyMap, java.util.Set<oracle.jdeveloper.el.Property> variables)
Subclasses should override this method to add variables to both varToPropertyMap & variables. |
boolean |
propertyExists(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type, java.util.List<java.lang.String> parentPropertyNameTokens, java.lang.String property, java.util.Map cache)
|
boolean |
supportsContext(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type)
|
Methods inherited from class oracle.jdeveloper.el.AbstractVariableProvider |
getProperties, getProperty, getVariables |
Methods inherited from class oracle.jdeveloper.el.VariableProvider |
areChildrenWellKnown, getDescription, getIcon, getLongLabel, getShortLabel, getToolTipText, isSegregatedInUI, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultScopedVariableProvider
public DefaultScopedVariableProvider(java.lang.String var,
java.util.List tokenizedExpression)
supportsContext
public boolean supportsContext(Context context,
java.lang.Object location,
oracle.jdeveloper.el.ELType type)
-
- Specified by:
supportsContext
in class oracle.jdeveloper.el.AbstractVariableProvider
getVariables
public java.util.Set getVariables(Context context,
java.lang.Object location,
oracle.jdeveloper.el.ELType type,
java.util.Map cache)
-
- Specified by:
getVariables
in class oracle.jdeveloper.el.AbstractVariableProvider
getProperties
public java.util.Set getProperties(Context context,
java.lang.Object location,
oracle.jdeveloper.el.ELType type,
java.util.List variableNameTokens,
java.util.Map cache)
-
- Specified by:
getProperties
in class oracle.jdeveloper.el.AbstractVariableProvider
getProperty
public oracle.jdeveloper.el.Property getProperty(Context context,
java.lang.Object location,
oracle.jdeveloper.el.ELType type,
java.util.List propertyNameTokens,
java.util.Map cache)
-
- Specified by:
getProperty
in class oracle.jdeveloper.el.AbstractVariableProvider
getMethods
public java.util.Set<oracle.jdeveloper.el.Method> getMethods(Context context,
java.lang.Object location,
java.util.List<java.lang.String> propertyNameTokens,
java.util.Map cache)
-
- Specified by:
getMethods
in class oracle.jdeveloper.el.AbstractVariableProvider
getReference
public oracle.bali.xml.model.dependency.Reference getReference(Context context,
java.lang.Object location,
oracle.jdeveloper.el.ELType type,
java.util.List<java.lang.String> propertyNameTokens,
java.util.List<oracle.bali.xml.model.dependency.Reference> previousTokenReferences,
oracle.bali.xml.model.XmlContext xmlContext,
org.w3c.dom.Node node,
int start,
int end,
java.util.Map cache)
-
- Specified by:
getReference
in class oracle.jdeveloper.el.AbstractVariableProvider
propertyExists
public boolean propertyExists(Context context,
java.lang.Object location,
oracle.jdeveloper.el.ELType type,
java.util.List<java.lang.String> parentPropertyNameTokens,
java.lang.String property,
java.util.Map cache)
-
- Overrides:
propertyExists
in class oracle.jdeveloper.el.VariableProvider
ignoreChildren
protected void ignoreChildren(java.lang.String var)
- Ignore the children of the var argument
-
- Parameters:
var
-
initializeVariables
protected void initializeVariables(Context context,
java.lang.Object location,
oracle.jdeveloper.el.ELType type,
java.util.Map cache,
java.util.Map<java.lang.String,oracle.jdeveloper.el.Property> varToPropertyMap,
java.util.Set<oracle.jdeveloper.el.Property> variables)
- Subclasses should override this method to add variables to both varToPropertyMap & variables. This method is called once in a lazy initialization.
-
- Parameters:
varToPropertyMap
- A map from name of a variable to a Property
variables
- A list of the variables
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.