|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.flagstone.transform.FSTransformObject
public abstract class FSTransformObject
The FSTransformObject object defines the basic set of method that an object must implement if it can used to represent the data structures that make up the Flash File Format specification. Sub-classes can be used to represent either one of the tagged data structures such as PlaceObject and added directly to an FSMovie or one of the data-types that the objects contain e.g. a colour. In addition to the methods directly relating to the coding of the object to and from the binary data representation that comprises the Flash File Format specification the class also includes a common set of methods used when validating or reporting the state of individual objects.
Constructor Summary | |
---|---|
FSTransformObject()
|
Method Summary | |
---|---|
abstract 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. |
abstract void |
decode(FSCoder coder)
|
abstract void |
encode(FSCoder coder)
|
boolean |
equals(java.lang.Object anObject)
Returns true if anObject is equal to this one. |
abstract int |
length(FSCoder coder)
|
java.lang.String |
name()
Return the name of the class without the package prefix. |
java.lang.String |
toString()
Generates a string representation of the event object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FSTransformObject()
Method Detail |
---|
public java.lang.String name()
public boolean equals(java.lang.Object anObject)
equals
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public abstract void appendDescription(java.lang.StringBuffer buffer, int depth)
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 abstract int length(FSCoder coder)
public abstract void encode(FSCoder coder)
public abstract void decode(FSCoder coder)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |