public final class UDFSetterProperty extends UDFGSProperty
RETURN_FORMAT_JAVA
RETURN_FORMAT_JSON, RETURN_FORMAT_PLAIN, RETURN_FORMAT_SERIALIZE, RETURN_FORMAT_WDDX, RETURN_FORMAT_XML
Constructor and Description |
---|
UDFSetterProperty(ComponentImpl component,
Property prop) |
Modifier and Type | Method and Description |
---|---|
Object |
call(PageContext pageContext,
Object[] args,
boolean doIncludePath)
call user defined Funcion with parameters as Object Array
|
Object |
callWithNamedValues(PageContext pageContext,
Struct values,
boolean doIncludePath)
call user defined Funcion with a hashmap of named values
|
UDF |
duplicate() |
Object |
getDefaultValue(PageContext pc,
int index) |
Object |
getDefaultValue(PageContext pc,
int index,
Object defaultValue) |
String |
getReturnTypeAsString() |
Object |
implementation(PageContext pageContext)
abstract method for the function Body
|
call, callWithNamedValues, duplicate, getDescription, getDisplayName, getFunctionArguments, getFunctionName, getHint, getIndex, getMetaData, getOutput, getOwnerComponent, getPage, getPageSource, getReturnFormat, getReturnFormat, getReturnType, getSecureJson, getValue, getVerifyClient, setOwnerComponent, toDumpData
getAccess, setAccess, setAccess
public UDFSetterProperty(ComponentImpl component, Property prop) throws PageException
PageException
public Object call(PageContext pageContext, Object[] args, boolean doIncludePath) throws PageException
UDF
args
- parameters for the functionPageException
public Object callWithNamedValues(PageContext pageContext, Struct values, boolean doIncludePath) throws PageException
UDF
values
- named valuesPageException
public Object getDefaultValue(PageContext pc, int index) throws PageException
PageException
public Object getDefaultValue(PageContext pc, int index, Object defaultValue) throws PageException
PageException
public String getReturnTypeAsString()
public Object implementation(PageContext pageContext) throws Throwable
UDF
Throwable
Copyright © 2015 Lucee