public class TiClosure extends DefaultIxObject
| Constructor and Description |
|---|
TiClosure(boolean cached,
ParameterNode[] parameters,
ExpressionNode expression,
EvaluationContext boundContext,
IEvaluationStrategy env) |
| Modifier and Type | Method and Description |
|---|---|
Object |
callMethod(SourceElement caller,
String methodName,
Object... args) |
int |
getParametersCount() |
Object |
getProperty(SourceElement caller,
String propertyName) |
protected String |
getType() |
boolean |
is(String qualifiedName) |
boolean |
matches(IClosureType type) |
asBoolean, asSequence, asString, castTo, getByIndexpublic TiClosure(boolean cached,
ParameterNode[] parameters,
ExpressionNode expression,
EvaluationContext boundContext,
IEvaluationStrategy env)
public int getParametersCount()
public Object callMethod(SourceElement caller, String methodName, Object... args) throws EvaluationException
callMethod in interface IxObjectcallMethod in class DefaultIxObjectEvaluationExceptionpublic Object getProperty(SourceElement caller, String propertyName) throws EvaluationException
getProperty in interface IxObjectgetProperty in class DefaultIxObjectEvaluationExceptionpublic boolean is(String qualifiedName) throws EvaluationException
is in interface IxObjectis in class DefaultIxObjectEvaluationExceptionpublic boolean matches(IClosureType type)
protected String getType()
getType in class DefaultIxObjectCopyright © 2014. All rights reserved.