railo.runtime.type.util
Class UDFUtil

java.lang.Object
  extended by railo.runtime.type.util.UDFUtil

public class UDFUtil
extends Object


Constructor Summary
UDFUtil()
           
 
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDFUtil

public UDFUtil()
Method Detail

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