Modifier and Type | Field and Description |
---|---|
static short |
TYPE_BIF |
static short |
TYPE_CLOSURE |
static short |
TYPE_UDF |
Constructor and Description |
---|
UDFUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addFunctionDoc(PageExceptionImpl pe,
FunctionLibFunction flf)
add detailed function documentation to the exception
|
static void |
argumentCollection(Struct values) |
static void |
argumentCollection(Struct values,
FunctionArgument[] funcArgs) |
static Object |
getDefaultValue(PageContext pc,
PageSource ps,
int udfIndex,
int index,
Object defaultValue) |
static Object |
getDefaultValue(PageContext pc,
UDFPlus udf,
int index,
Object defaultValue) |
static boolean |
isValidReturnFormat(int returnFormat) |
static DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp,
UDF udf,
short type) |
static String |
toReturnFormat(int returnFormat) |
static String |
toReturnFormat(int returnFormat,
String defaultValue) |
static int |
toReturnFormat(String returnFormat) |
static int |
toReturnFormat(String[] returnFormats,
int defaultValue) |
static int |
toReturnFormat(String returnFormat,
int defaultValue) |
public static final short TYPE_UDF
public static final short TYPE_BIF
public static final short TYPE_CLOSURE
public UDFUtil()
public static void addFunctionDoc(PageExceptionImpl pe, FunctionLibFunction flf)
pe
- flf
- public static Object getDefaultValue(PageContext pc, PageSource ps, int udfIndex, int index, Object defaultValue) throws PageException
PageException
public static Object getDefaultValue(PageContext pc, UDFPlus udf, int index, Object defaultValue) throws PageException
PageException
public static void argumentCollection(Struct values)
public static void argumentCollection(Struct values, FunctionArgument[] funcArgs)
public static String toReturnFormat(int returnFormat, String defaultValue)
public static boolean isValidReturnFormat(int returnFormat)
public static int toReturnFormat(String[] returnFormats, int defaultValue)
public static int toReturnFormat(String returnFormat, int defaultValue)
public static int toReturnFormat(String returnFormat) throws ExpressionException
ExpressionException
public static String toReturnFormat(int returnFormat) throws ExpressionException
ExpressionException
public static DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp, UDF udf, short type)
Copyright © 2015 Lucee