com.carbonfive.flash.encoder
Class CachingEncoder

java.lang.Object
  extended by com.carbonfive.flash.encoder.ActionScriptEncoder
      extended by com.carbonfive.flash.encoder.CachingEncoder

public class CachingEncoder
extends ActionScriptEncoder

Provides reference-based caching for Java to ActionScript encoding.


Constructor Summary
CachingEncoder(ActionScriptEncoder next)
           
 
Method Summary
 java.lang.Object encodeObject(Context ctx, java.lang.Object shell, java.lang.Object decodedObject)
           
 java.lang.Object encodeShell(Context ctx, java.lang.Object decodedObject)
           
 ActionScriptEncoder getNextEncoder()
           
 
Methods inherited from class com.carbonfive.flash.encoder.ActionScriptEncoder
encodeObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingEncoder

public CachingEncoder(ActionScriptEncoder next)
Method Detail

encodeShell

public java.lang.Object encodeShell(Context ctx,
                                    java.lang.Object decodedObject)
Specified by:
encodeShell in class ActionScriptEncoder

encodeObject

public java.lang.Object encodeObject(Context ctx,
                                     java.lang.Object shell,
                                     java.lang.Object decodedObject)
Specified by:
encodeObject in class ActionScriptEncoder

getNextEncoder

public ActionScriptEncoder getNextEncoder()