jp.develop.common.util.amf.decoder
Interface IArrayWriter.IArrayProxy

All Superinterfaces:
IWrapper
Enclosing interface:
IArrayWriter

public static interface IArrayWriter.IArrayProxy
extends IWrapper

Interface for building up array.


Method Summary
 void addElement(Object element)
          Add element to the array.
 Type getElementType()
          Get the type of elements.
 void setSize(int size)
          This method is called, if getArrayProxy()'s size is -1.
 
Methods inherited from interface jp.develop.common.util.amf.util.IWrapper
getInstance, setInstance
 

Method Detail

setSize

void setSize(int size)
This method is called, if getArrayProxy()'s size is -1. This method is not called, after addElement() is called.

Parameters:
size - The size of array.

getElementType

Type getElementType()
Get the type of elements.

Returns:
The type of elements.

addElement

void addElement(Object element)
Add element to the array.

Parameters:
element - Target element.