public class StaticMethodImportResolverFactory extends BaseVariableResolverFactory
indexedVariableNames, indexedVariableResolvers, indexOffset, nextFactory, variableResolvers
Constructor and Description |
---|
StaticMethodImportResolverFactory() |
StaticMethodImportResolverFactory(ParserContext ctx) |
Modifier and Type | Method and Description |
---|---|
VariableResolver |
createVariable(String name,
Object value)
Creates a new variable.
|
VariableResolver |
createVariable(String name,
Object value,
Class<?> type)
Creates a new variable, and assigns a static type.
|
Map<String,Method> |
getImportedMethods() |
boolean |
isResolveable(String name)
Determines whether or not the variable is resolver in the chain of factories.
|
boolean |
isTarget(String name)
Deterimines whether or not the current VariableResolverFactory is the physical target for the actual
variable.
|
appendFactory, createIndexedVariable, createIndexedVariable, getIndexedVariableNames, getIndexedVariableResolver, getKnownVariables, getNextFactory, getVariableResolver, getVariableResolvers, insertFactory, isIndexedFactory, isNextResolveable, setIndexedVariableNames, setIndexedVariableResolver, setNextFactory, setTiltFlag, setVariableResolvers, tiltFlag, variableIndexOf
public StaticMethodImportResolverFactory(ParserContext ctx)
public StaticMethodImportResolverFactory()
public VariableResolver createVariable(String name, Object value)
VariableResolverFactory
name
- - name of the variable being createdvalue
- - value of the variablepublic VariableResolver createVariable(String name, Object value, Class<?> type)
VariableResolverFactory
name
- - name of the variable being createdvalue
- - value of the variabletype
- - the static typepublic boolean isTarget(String name)
VariableResolverFactory
name
- - variable namepublic boolean isResolveable(String name)
VariableResolverFactory
name
- - variable nameCopyright © 2013. All rights reserved.