railo.runtime.type
Class UDFGetterProperty
java.lang.Object
railo.runtime.component.MemberSupport
railo.runtime.type.UDFImpl
railo.runtime.type.UDFGSProperty
railo.runtime.type.UDFGetterProperty
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, Member, Dumpable, Function, Duplicable, Sizeable, UDF, UDFPlus
public final class UDFGetterProperty
- 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, equals, equals, getBufferOutput, getIndex, getMeta, getPageSource, getReturnFormatAsString, readExternal, setOwnerComponent, sizeOf, toDumpData, toKey, toReturnFormat, toReturnFormat, toReturnFormat, toString, writeExternal |
UDFGetterProperty
public UDFGetterProperty(ComponentImpl component,
Property prop)
duplicate
public UDF duplicate(ComponentImpl c)
- Overrides:
duplicate
in class UDFImpl
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
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
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
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
getDefaultValue
public Object getDefaultValue(PageContext pc,
int index,
Object defaultValue)
throws PageException
- Specified by:
getDefaultValue
in interface UDFPlus
- Overrides:
getDefaultValue
in class UDFImpl
- Throws:
PageException
getReturnTypeAsString
public String getReturnTypeAsString()
- Specified by:
getReturnTypeAsString
in interface UDF
- Overrides:
getReturnTypeAsString
in class UDFImpl
- Returns:
- Returns the returnType.
Copyright © 2012 Railo