org.exolab.castor.xml

Class UnmarshalHandler.ArrayHandler

public static class UnmarshalHandler.ArrayHandler extends Object

A class for handling Arrays during unmarshalling.

Author: kvisco@intalio.com

Field Summary
Class_componentType
ArrayList_items
Constructor Summary
ArrayHandler(Class componentType)
Creates a new ArrayHandler
Method Summary
voidaddObject(Object obj)
Adds the given object to the underlying array
ClasscomponentType()
ObjectgetObject()

Field Detail

_componentType

Class _componentType

_items

ArrayList _items

Constructor Detail

ArrayHandler

ArrayHandler(Class componentType)
Creates a new ArrayHandler

Parameters: componentType the ComponentType for the array.

Method Detail

addObject

public void addObject(Object obj)
Adds the given object to the underlying array

componentType

public Class componentType()

getObject

public Object getObject()
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com