org.eclipse.jst.jsf.designtime.resolver
Interface ISymbolContextResolver
- All Superinterfaces:
- IContextResolver, IDocumentContextResolver
- All Known Implementing Classes:
- AbstractSymbolContextResolver
public interface ISymbolContextResolver
- extends IDocumentContextResolver
Resolves symbols and possible symbols in a given context
May NOT be sub-classed or implemented by clients.
Sub-class SymbolContextResolver.
getVariable
ISymbol getVariable(java.lang.String name)
- Gets the most appropriate symbol in the current context
based on name. Most "appropriate" may take into account
scoping and other rules.
- Parameters:
name
-
- Returns:
- a symbol
getAllVariables
ISymbol[] getAllVariables()
- Returns:
- all valid symbols in the current context
getProperty
ISymbol getProperty(ISymbol symbol,
java.lang.Object propertyName)
- Parameters:
symbol
- propertyName
-
- Returns:
- the property symbol called propertyName or null if not found
getProperties
ISymbol[] getProperties(ISymbol symbol)
- Parameters:
symbol
-
- Returns:
- all properties of symbol
getMethod
IMethodSymbol getMethod(IObjectSymbol base,
java.lang.Object methodName)
- Parameters:
base
- methodName
-
- Returns:
- the method of base matching methodName or null if not found
getMethods
ISymbol[] getMethods(IObjectSymbol base)
- Parameters:
base
-
- Returns:
- all methods belonging to base