railo.runtime.type
Interface Objects

All Superinterfaces:
Castable, Dumpable, Serializable
All Known Subinterfaces:
Application, Argument, Array, Caller, CatchBlock, CGI, Client, Cluster, Component, ComponentAccess, ComponentPro, ComponentScope, Cookie, Form, Local, MemoryScope, Request, Scope, Server, Session, SharedScope, StorageScope, Struct, Threads, Undefined, URL, URLForm, UserScope, Variables, XMLStruct
All Known Implementing Classes:
ApplicationImpl, ArgumentImpl, ArgumentThreadImpl, ArrayImpl, ArrayImplNS, ArraySupport, CallerImpl, CastableArray, CastableStruct, CatchBlockImpl, CFCProxy, CGIImpl, ClientCache, ClientCookie, ClientDatasource, ClientFile, ClientMemory, Closure, ClusterNotSupported, ClusterWrap, CollectionStruct, COMObject, ComponentAccessProxy, ComponentImpl, ComponentProxy, ComponentScopeShadow, ComponentScopeThis, ComponentWrap, CookieImpl, DateTimeImpl, DebugQueryColumn, DoubleStruct, Excel, FeedStruct, FileStreamWrapper, FileStreamWrapperRead, FileStreamWrapperReadBinary, FileStreamWrapperReadWrite, FileStreamWrapperWrite, FormImpl, HttpSessionBindingListenerStruct, Image, JavaObject, JavaProxy, JSession, ListAsArray, LocalImpl, LocalNotSupportedScope, MapAsStruct, ObjectStruct, PDFDocument, QueryCacheQuery, QueryColumnImpl, QueryImpl, ReadOnlyStruct, RequestImpl, RPCClient, ScopeSupport, ServerImpl, SessionCache, SessionCookie, SessionDatasource, SessionFile, SessionMemory, SimpleQuery, StorageScopeCache, StorageScopeCookie, StorageScopeDatasource, StorageScopeFile, StorageScopeImpl, StorageScopeMemory, StructImpl, StructImplKey, StructImplString, StructSupport, SuperComponent, SVArray, SVStruct, ThreadsImpl, TOArray, TOObjects, TOQuery, TOStruct, TOUDF, UndefinedImpl, UrlFormImpl, URLImpl, VariablesImpl, XMLAttributes, XMLAttrStruct, XMLCDATASectionStruct, XMLDocumentStruct, XMLElementStruct, XMLMultiElementArray, XMLMultiElementStruct, XMLNodeList, XMLNodeStruct, XMLTextStruct

public interface Objects
extends Dumpable, Castable

Hold a native or wild object, to use id inside railo runtime


Method Summary
 Object call(PageContext pc, Collection.Key methodName, Object[] arguments)
          calls a method of the object
 Object callWithNamedValues(PageContext pc, Collection.Key methodName, Struct args)
          call a method of the Object with named arguments
 Object get(PageContext pc, Collection.Key key)
          return property or getter of the ContextCollection
 Object get(PageContext pc, Collection.Key key, Object defaultValue)
          return property
 Object set(PageContext pc, Collection.Key propertyName, Object value)
          sets a property (Data Member) value of the object
 Object setEL(PageContext pc, Collection.Key propertyName, Object value)
          sets a property (Data Member) value of the object
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.op.Castable
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
 

Method Detail

get

Object get(PageContext pc,
           Collection.Key key,
           Object defaultValue)
return property

Parameters:
pc - PageContext
key - Name of the Property
Returns:
return value of the Property

get

Object get(PageContext pc,
           Collection.Key key)
           throws PageException
return property or getter of the ContextCollection

Parameters:
pc - PageContext
key - Name of the Property
Returns:
return value of the Property
Throws:
PageException

set

Object set(PageContext pc,
           Collection.Key propertyName,
           Object value)
           throws PageException
sets a property (Data Member) value of the object

Parameters:
pc -
propertyName - property name to set
value - value to insert
Returns:
value set to property
Throws:
PageException

setEL

Object setEL(PageContext pc,
             Collection.Key propertyName,
             Object value)
sets a property (Data Member) value of the object

Parameters:
pc -
propertyName - property name to set
value - value to insert
Returns:
value set to property

call

Object call(PageContext pc,
            Collection.Key methodName,
            Object[] arguments)
            throws PageException
calls a method of the object

Parameters:
pc -
methodName - name of the method to call
arguments - arguments to call method with
Returns:
return value of the method
Throws:
PageException

callWithNamedValues

Object callWithNamedValues(PageContext pc,
                           Collection.Key methodName,
                           Struct args)
                           throws PageException
call a method of the Object with named arguments

Parameters:
pc - PageContext
methodName - name of the method
args - Named Arguments for the method
Returns:
return result of the method
Throws:
PageException


Copyright © 2012 Railo