org.exolab.castor.xml

Class UnmarshalHandler.ArrayHandler

Enclosing Class:
UnmarshalHandler

public static class UnmarshalHandler.ArrayHandler
extends java.lang.Object

A class for handling Arrays during unmarshalling.
Author:
kvisco@intalio.com

Field Summary

(package private) Class
_componentType
(package private) Vector
_items

Constructor Summary

ArrayHandler(Class componentType)
Creates a new ArrayHandler

Method Summary

void
addObject(Object obj)
Adds the given object to the underlying array
Class
componentType()
Object
getObject()

Field Details

_componentType

(package private)  Class _componentType

_items

(package private)  Vector _items

Constructor Details

ArrayHandler

(package private)  ArrayHandler(Class componentType)
Creates a new ArrayHandler
Parameters:
componentType - the ComponentType for the array.

Method Details

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-2003. All rights reserved http://www.intalio.com