public abstract class FunctionBase extends java.lang.Object implements Function
| Constructor and Description |
|---|
FunctionBase() |
| Modifier and Type | Method and Description |
|---|---|
Property |
getOptionalArgDefault(int index,
PropertyInfo pi) |
int |
getOptionalArgsCount() |
PercentBase |
getPercentBase() |
protected Property |
getPropertyName(PropertyInfo pi) |
boolean |
hasVariableArgs()
Determine if function allows variable arguments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteval, getRequiredArgsCountpublic int getOptionalArgsCount()
getOptionalArgsCount in interface Functionpublic Property getOptionalArgDefault(int index, PropertyInfo pi) throws PropertyException
getOptionalArgDefault in interface Functionindex - of optional argumentpi - property information instance that applies to property being evaluatedPropertyException - if index is greater than or equal to optional args countpublic boolean hasVariableArgs()
hasVariableArgs in interface Functionpublic PercentBase getPercentBase()
getPercentBase in interface Functionprotected final Property getPropertyName(PropertyInfo pi)
pi - property information instance that applies to property being evaluatedCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.