com.flagstone.transform.coder
Interface SWFFactory<T>

Type Parameters:
T - the type of Flash File object decoded by the decoder.
All Known Implementing Classes:
ActionDecoder, FillStyleDecoder, FilterDecoder, MorphFillStyleDecoder, MovieDecoder, ShapeDecoder

public interface SWFFactory<T>

The SWFFactory interface is used to generate objects when decoding a movie.


Method Summary
 void getObject(List<T> list, SWFDecoder coder, Context context)
          Decode and return a Flash object.
 

Method Detail

getObject

void getObject(List<T> list,
               SWFDecoder coder,
               Context context)
               throws IOException
Decode and return a Flash object.

Parameters:
list - the list where the decoded object will be added.
coder - an decoder wrapping the binary encoded flash data.
context - a Context object used to share information between the code that decodes the different types of object.
Throws:
IOException - if an error occurs decoding the object.


Copyright © 2002-2010 Flagstone Software Ltd.. All Rights Reserved.