|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.FSTransformObject
com.flagstone.transform.FSActionObject
com.flagstone.transform.FSUnknownAction
public class FSUnknownAction
FSUnknownAction class is used to represent any action decoded from a Flash file that is currently not supported by the framework.
This allows Flash files to be parsed, processed and encoded without affecting any of the actions not directly supported.
Attributes | |
---|---|
type | The value used to identify the type of action. Read-only. |
data | The encoded bytes that make up the body of the action's data structure. |
The object provides direct access to the encoded data of the action offering the possibility to encode and decode actions that are not directly supported in the current release of the framework. However a detailed knowledge of how the action is encoded and decoded is required.
Field Summary |
---|
Fields inherited from class com.flagstone.transform.FSActionObject |
---|
Call, ExceptionHandler, GetUrl, GetUrl2, GotoFrame, GotoFrame2, GotoLabel, If, Jump, length, NewFunction, NewFunction2, Push, RegisterCopy, SetTarget, Table, type, WaitForFrame, WaitForFrame2, With |
Constructor Summary | |
---|---|
FSUnknownAction(FSCoder coder)
Construct an FSUnknownAction object, initialising it with values decoded from an encoded object. |
|
FSUnknownAction(FSUnknownAction obj)
Constructs an FSUnknownAction object by copying values from an existing object. |
|
FSUnknownAction(int aType,
byte[] bytes)
Constructs an FSUnknownAction object of the specified type with the encoded Flash data. |
Method Summary | |
---|---|
void |
appendDescription(java.lang.StringBuffer buffer,
int depth)
AppendDescription is used to present a string description of the object including all nested objects up to a specified depth. |
java.lang.Object |
clone()
Creates a deep copy of the entire object. |
void |
decode(FSCoder coder)
|
void |
encode(FSCoder coder)
|
boolean |
equals(java.lang.Object anObject)
Returns true if anObject is equal to this one. |
byte[] |
getData()
Gets the encoded data for the action. |
int |
length(FSCoder coder)
|
void |
setData(byte[] bytes)
Sets the encoded data for the action. |
Methods inherited from class com.flagstone.transform.FSActionObject |
---|
getType, length |
Methods inherited from class com.flagstone.transform.FSTransformObject |
---|
name, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FSUnknownAction(FSCoder coder)
coder
- an FSCoder containing the binary data.public FSUnknownAction(int aType, byte[] bytes)
aType
- the code identifying the action type.bytes
- the encoded data for the action.public FSUnknownAction(FSUnknownAction obj)
obj
- an FSUnknownAction object.Method Detail |
---|
public byte[] getData()
public void setData(byte[] bytes)
bytes
- the encoded data for the action.public java.lang.Object clone()
FSTransformObject
clone
in class FSTransformObject
public boolean equals(java.lang.Object anObject)
FSActionObject
equals
in class FSActionObject
public void appendDescription(java.lang.StringBuffer buffer, int depth)
FSTransformObject
appendDescription
in class FSTransformObject
buffer
- a StringBuffer to which the description of each object is
appended.depth
- the maximum level of nesting up to which objects will be
displayed.public int length(FSCoder coder)
length
in class FSActionObject
public void encode(FSCoder coder)
encode
in class FSActionObject
public void decode(FSCoder coder)
decode
in class FSActionObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |