public class Closure extends UDFImpl
RETURN_FORMAT_JAVA
RETURN_FORMAT_JSON, RETURN_FORMAT_PLAIN, RETURN_FORMAT_SERIALIZE, RETURN_FORMAT_WDDX, RETURN_FORMAT_XML
Constructor and Description |
---|
Closure() |
Closure(UDFProperties properties) |
Closure(UDFProperties properties,
Variables variables) |
Modifier and Type | Method and Description |
---|---|
Object |
call(PageContext pc,
Collection.Key calledName,
Object[] args,
boolean doIncludePath)
call user defined Funcion with parameters as Object Array
|
Object |
call(PageContext pc,
Object[] args,
boolean doIncludePath)
call user defined Funcion with parameters as Object Array
|
Object |
callWithNamedValues(PageContext pc,
Collection.Key calledName,
Struct values,
boolean doIncludePath)
call user defined Funcion with a struct
|
Object |
callWithNamedValues(PageContext pc,
Struct values,
boolean doIncludePath)
call user defined Funcion with a hashmap of named values
|
UDF |
duplicate(ComponentImpl c) |
Struct |
getMetaData(PageContext pc) |
void |
readExternal(ObjectInput in) |
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML
|
void |
writeExternal(ObjectOutput out) |
clone, duplicate, duplicate, equals, equals, getBufferOutput, getDefaultValue, getDefaultValue, getDescription, getDisplayName, getFunctionArguments, getFunctionName, getHint, getIndex, getMeta, getOutput, getOwnerComponent, getPageSource, getReturnFormat, getReturnFormat, getReturnFormatAsString, getReturnType, getReturnTypeAsString, getSecureJson, getValue, getVerifyClient, implementation, setOwnerComponent, sizeOf, toKey, toString
getAccess, setAccess, setAccess
public Closure()
public Closure(UDFProperties properties)
public Closure(UDFProperties properties, Variables variables)
public UDF duplicate(ComponentImpl c)
public Object callWithNamedValues(PageContext pc, Collection.Key calledName, Struct values, boolean doIncludePath) throws PageException
UDFPlus
callWithNamedValues
in interface UDFPlus
callWithNamedValues
in class UDFImpl
values
- named valuesPageException
public Object callWithNamedValues(PageContext pc, Struct values, boolean doIncludePath) throws PageException
UDF
callWithNamedValues
in interface UDF
callWithNamedValues
in class UDFImpl
values
- named valuesPageException
public Object call(PageContext pc, Collection.Key calledName, Object[] args, boolean doIncludePath) throws PageException
UDFPlus
call
in interface UDFPlus
call
in class UDFImpl
args
- parameters for the functionPageException
public Object call(PageContext pc, Object[] args, boolean doIncludePath) throws PageException
UDF
call
in interface UDF
call
in class UDFImpl
args
- parameters for the functionPageException
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
toDumpData
in class UDFImpl
public Struct getMetaData(PageContext pc) throws PageException
getMetaData
in interface UDF
getMetaData
in class UDFImpl
PageException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class UDFImpl
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class UDFImpl
IOException
Copyright © 2015 Lucee