com.carbonfive.flash
Class Context

java.lang.Object
  extended by com.carbonfive.flash.Context
All Implemented Interfaces:
java.io.Serializable

public class Context
extends java.lang.Object
implements java.io.Serializable

Context passed to encoders and decoders, as well as factories, during translation to and from Action Script. This object holds a translation filter, which allows certain classes and properties to be ignored while translating, as well as a loop finder, which detects infinite loops.

See Also:
Serialized Form

Method Summary
static Context getBaseContext()
          Return the base context, which contains the default translation filter.
 TranslationFilter getFilter()
           
 LoopFinder getLoopFinder()
           
 void setFilter(TranslationFilter filter)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBaseContext

public static Context getBaseContext()
Return the base context, which contains the default translation filter.

Returns:
Base Context object

getFilter

public TranslationFilter getFilter()

setFilter

public void setFilter(TranslationFilter filter)

getLoopFinder

public LoopFinder getLoopFinder()