railo.runtime.type.util
Class UDFUtil
java.lang.Object
railo.runtime.type.util.UDFUtil
public class UDFUtil
- extends Object
Method Summary |
static void |
addFunctionDoc(PageExceptionImpl pe,
FunctionLibFunction flf)
add detailed function documentation to the exception |
static String |
callerHash(UDF udf,
Object[] args,
Struct values)
|
static Object |
getDefaultValue(PageContext pc,
PageSource ps,
int udfIndex,
int index,
Object defaultValue)
|
static Object |
getDefaultValue(PageContext pc,
UDFPlus udf,
int index,
Object defaultValue)
|
UDFUtil
public UDFUtil()
addFunctionDoc
public static void addFunctionDoc(PageExceptionImpl pe,
FunctionLibFunction flf)
- add detailed function documentation to the exception
- Parameters:
pe
- flf
-
callerHash
public static String callerHash(UDF udf,
Object[] args,
Struct values)
throws ApplicationException
- Throws:
ApplicationException
getDefaultValue
public static Object getDefaultValue(PageContext pc,
PageSource ps,
int udfIndex,
int index,
Object defaultValue)
throws PageException
- Throws:
PageException
getDefaultValue
public static Object getDefaultValue(PageContext pc,
UDFPlus udf,
int index,
Object defaultValue)
throws PageException
- Throws:
PageException
Copyright © 2012 Railo