com.flagstone.transform.shape
Class ShapeDecoder

java.lang.Object
  extended by com.flagstone.transform.shape.ShapeDecoder
All Implemented Interfaces:
SWFFactory<ShapeRecord>

public final class ShapeDecoder
extends Object
implements SWFFactory<ShapeRecord>

ShapeDecoder is used to decode the ShapeRecords that describe how a Shape is drawn.


Constructor Summary
ShapeDecoder()
           
 
Method Summary
 void getObject(List<ShapeRecord> list, SWFDecoder coder, Context context)
          Decode and return a Flash object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeDecoder

public ShapeDecoder()
Method Detail

getObject

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

Specified by:
getObject in interface SWFFactory<ShapeRecord>
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.