railo.runtime.net.amf
Class ClassicAMFCaster

java.lang.Object
  extended by railo.runtime.net.amf.ClassicAMFCaster
All Implemented Interfaces:
AMFCaster
Direct Known Subclasses:
ModernAMFCaster

public class ClassicAMFCaster
extends Object
implements AMFCaster

Cast a CFML object to AMF Objects and the other way


Constructor Summary
ClassicAMFCaster()
           
 
Method Summary
 void init(Map arguments)
           
 Object toAMFObject(Object cf)
          cast cfml Object to AMF Object
 Object toCFMLObject(Object amf)
          cast a amf Object to cfml Object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassicAMFCaster

public ClassicAMFCaster()
Method Detail

init

public void init(Map arguments)
Specified by:
init in interface AMFCaster
See Also:
AMFCaster.init(java.util.Map)

toAMFObject

public Object toAMFObject(Object cf)
                   throws PageException
Description copied from interface: AMFCaster
cast cfml Object to AMF Object

Specified by:
toAMFObject in interface AMFCaster
Throws:
PageException
See Also:
AMFCaster.toAMFObject(java.lang.Object)

toCFMLObject

public Object toCFMLObject(Object amf)
                    throws PageException
Description copied from interface: AMFCaster
cast a amf Object to cfml Object

Specified by:
toCFMLObject in interface AMFCaster
Throws:
PageException
See Also:
AMFCaster.toCFMLObject(java.lang.Object)


Copyright © 2012 Railo