org.exolab.castor.xml
Class UnmarshalHandler.ArrayHandler

java.lang.Object
  extended by org.exolab.castor.xml.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)  java.lang.Class _componentType
           
(package private)  java.util.ArrayList _items
           
 
Constructor Summary
UnmarshalHandler.ArrayHandler(java.lang.Class componentType)
          Creates a new ArrayHandler
 
Method Summary
 void addObject(java.lang.Object obj)
          Adds the given object to the underlying array
 java.lang.Class componentType()
           
 java.lang.Object getObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_componentType

java.lang.Class _componentType

_items

java.util.ArrayList _items
Constructor Detail

UnmarshalHandler.ArrayHandler

UnmarshalHandler.ArrayHandler(java.lang.Class componentType)
Creates a new ArrayHandler

Parameters:
componentType - the ComponentType for the array.
Method Detail

addObject

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


getObject

public java.lang.Object getObject()

componentType

public java.lang.Class componentType()


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com