public class DefaultScopedVariableProvider
extends oracle.jdeveloper.el.AbstractVariableProvider
Constructor and Description |
---|
DefaultScopedVariableProvider(java.lang.String var,
java.util.List tokenizedExpression) |
Modifier and Type | Method and Description |
---|---|
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) |
getProperties, getProperty, getVariables
public DefaultScopedVariableProvider(java.lang.String var, java.util.List tokenizedExpression)
public boolean supportsContext(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type)
supportsContext
in class oracle.jdeveloper.el.AbstractVariableProvider
public java.util.Set getVariables(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type, java.util.Map cache)
getVariables
in class oracle.jdeveloper.el.AbstractVariableProvider
public java.util.Set getProperties(Context context, java.lang.Object location, oracle.jdeveloper.el.ELType type, java.util.List variableNameTokens, java.util.Map cache)
getProperties
in class oracle.jdeveloper.el.AbstractVariableProvider
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)
getProperty
in class oracle.jdeveloper.el.AbstractVariableProvider
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)
getMethods
in class oracle.jdeveloper.el.AbstractVariableProvider
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)
getReference
in class oracle.jdeveloper.el.AbstractVariableProvider
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)
propertyExists
in class oracle.jdeveloper.el.VariableProvider
protected void ignoreChildren(java.lang.String var)
var
- 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)
varToPropertyMap
- A map from name of a variable to a Propertyvariables
- A list of the variables