railo.runtime.type
Class UDFAddProperty
java.lang.Object
railo.runtime.component.MemberSupport
railo.runtime.type.UDFImpl
railo.runtime.type.UDFGSProperty
railo.runtime.type.UDFAddProperty
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, Member, Dumpable, Function, Duplicable, Sizeable, UDF
public final class UDFAddProperty
- extends UDFGSProperty
- See Also:
- Serialized Form
Methods inherited from class railo.runtime.type.UDFGSProperty |
getAccess, getDescription, getDisplayName, getFunctionArguments, getFunctionName, getHint, getMetaData, getOutput, getOwnerComponent, getPage, getReturnFormat, getReturnType, getSecureJson, getValue, getVerifyClient, toDumpData |
Methods inherited from class railo.runtime.type.UDFImpl |
argumentCollection, argumentCollection, clone, duplicate, getMeta, getPageSource, getReturnFormatAsString, readExternal, setOwnerComponent, sizeOf, toDumpData, toKey, toReturnFormat, toReturnFormat, toReturnFormat, toString, writeExternal |
UDFAddProperty
public UDFAddProperty(ComponentImpl component,
Property prop)
duplicate
public UDF duplicate(ComponentImpl c)
- Overrides:
duplicate
in class UDFImpl
- See Also:
UDF.duplicate()
duplicate
public UDF duplicate()
- Specified by:
duplicate
in interface UDF
- Overrides:
duplicate
in class UDFImpl
call
public Object call(PageContext pageContext,
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
- See Also:
UDF.call(railo.runtime.PageContext, java.lang.Object[], boolean)
callWithNamedValues
public Object callWithNamedValues(PageContext pageContext,
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
- See Also:
UDF.callWithNamedValues(railo.runtime.PageContext, railo.runtime.type.Struct, boolean)
implementation
public Object implementation(PageContext pageContext)
throws Throwable
- Description copied from interface:
UDF
- abstract method for the function Body
- Specified by:
implementation
in interface UDF
- Overrides:
implementation
in class UDFImpl
- Throws:
Throwable
- See Also:
UDF.implementation(railo.runtime.PageContext)
getDefaultValue
public Object getDefaultValue(PageContext pc,
int index)
throws PageException
- Specified by:
getDefaultValue
in interface UDF
- Overrides:
getDefaultValue
in class UDFImpl
- Returns:
- default value
- Throws:
PageException
- See Also:
UDF.getDefaultValue(railo.runtime.PageContext, int)
getReturnTypeAsString
public String getReturnTypeAsString()
- Specified by:
getReturnTypeAsString
in interface UDF
- Overrides:
getReturnTypeAsString
in class UDFImpl
- Returns:
- Returns the returnType.
- See Also:
UDF.getReturnTypeAsString()
Copyright © 2012 Railo