railo.runtime.type
Class Closure
java.lang.Object
railo.runtime.component.MemberSupport
railo.runtime.type.UDFImpl
railo.runtime.type.Closure
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, Member, Dumpable, Function, Duplicable, Sizeable, UDF, UDFPlus
public class Closure
- extends UDFImpl
- See Also:
- Serialized Form
Methods inherited from class railo.runtime.type.UDFImpl |
argumentCollection, argumentCollection, clone, duplicate, duplicate, equals, equals, getBufferOutput, getDefaultValue, getDefaultValue, getDescription, getDisplayName, getFunctionArguments, getFunctionName, getHint, getIndex, getMeta, getOutput, getOwnerComponent, getPageSource, getReturnFormat, getReturnFormatAsString, getReturnType, getReturnTypeAsString, getSecureJson, getValue, getVerifyClient, implementation, setOwnerComponent, sizeOf, toDumpData, toKey, toReturnFormat, toReturnFormat, toReturnFormat, toString |
Closure
public Closure()
Closure
public Closure(UDFProperties properties)
Closure
public Closure(UDFProperties properties,
Variables variables)
duplicate
public UDF duplicate(ComponentImpl c)
- Overrides:
duplicate
in class UDFImpl
callWithNamedValues
public Object callWithNamedValues(PageContext pc,
Struct values,
boolean doIncludePath)
throws PageException
- Description copied from interface:
UDF
- call user defined Funcion with a hashmap of named values
- Specified by:
callWithNamedValues
in interface UDF
- Overrides:
callWithNamedValues
in class UDFImpl
values
- named values
- Returns:
- return value of the function
- Throws:
PageException
call
public Object call(PageContext pc,
Object[] args,
boolean doIncludePath)
throws PageException
- Description copied from interface:
UDF
- call user defined Funcion with parameters as Object Array
- Specified by:
call
in interface UDF
- Overrides:
call
in class UDFImpl
args
- parameters for the function
- Returns:
- return value of the function
- Throws:
PageException
toDumpData
public DumpData toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
- Description copied from interface:
Dumpable
- method to print out information to a object as HTML
- Specified by:
toDumpData
in interface Dumpable
- Overrides:
toDumpData
in class UDFImpl
- Returns:
- HTML print out
getMetaData
public Struct getMetaData(PageContext pc)
throws PageException
- Specified by:
getMetaData
in interface UDF
- Overrides:
getMetaData
in class UDFImpl
- Throws:
PageException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class UDFImpl
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class UDFImpl
- Throws:
IOException
Copyright © 2012 Railo