jp.develop.common.util.amf.decoder
Interface IObjectWriter.IObjectProxy

All Superinterfaces:
IWrapper
Enclosing interface:
IObjectWriter

public static interface IObjectWriter.IObjectProxy
extends IWrapper

Interface for building up object.


Method Summary
 Type getPropertyType(String name)
          Get the property's type.
 boolean isExternalizable()
          Is this externalizable object? If externalizable, readExternal() must be implemented.
 void readExternal(AmfDecoder in)
          Read object's values in the same sequence and the same types as were written by writeExternal.
 void setProperty(String name, Object value)
          Set the property.
 
Methods inherited from interface jp.develop.common.util.amf.util.IWrapper
getInstance, setInstance
 

Method Detail

isExternalizable

boolean isExternalizable()
Is this externalizable object? If externalizable, readExternal() must be implemented. If not externalizable, getPropertyType() and setProperty() must be implemented.

Returns:
Is this externalizable?

readExternal

void readExternal(AmfDecoder in)
                  throws IOException
Read object's values in the same sequence and the same types as were written by writeExternal.

Parameters:
in - The stream to read data from in order to restore the object.
Throws:
IOException - If I/O error occurs.
See Also:
Externalizable

getPropertyType

Type getPropertyType(String name)
Get the property's type.

Parameters:
name - Target property name.
Returns:
The type of target property.

setProperty

void setProperty(String name,
                 Object value)
Set the property.

Parameters:
name - Target property name.
value - The value to be set.