|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.xml.UnmarshalHandler.ArrayHandler
public static class UnmarshalHandler.ArrayHandler
A class for handling Arrays during unmarshalling.
| Field Summary | |
|---|---|
(package private) java.lang.Class<?> |
_componentType
|
(package private) java.util.ArrayList<java.lang.Object> |
_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()
Returns the component type handled by this class. |
java.lang.Object |
getObject()
Returns the data handled by this class as an array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.Class<?> _componentType
java.util.ArrayList<java.lang.Object> _items
| Constructor Detail |
|---|
UnmarshalHandler.ArrayHandler(java.lang.Class<?> componentType)
componentType - the ComponentType for the array.| Method Detail |
|---|
public void addObject(java.lang.Object obj)
obj - The object to be added to the underlying array.public java.lang.Object getObject()
public java.lang.Class<?> componentType()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||