|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.skaringa.javaxml.serializers.ArrayHelper
public final class ArrayHelper
Class that helps with deserialization of arrays. A vector is used to back up the elements of an array.
Constructor Summary | |
---|---|
ArrayHelper(java.util.Vector helper,
java.lang.Class componentType)
Construct a new ArrayHelper. |
Method Summary | |
---|---|
void |
add(java.lang.Object element)
Add a new element. |
java.lang.Object |
getArray()
Get the array backed up by this helper. |
java.lang.Class |
getComponentType()
Get the type of the elements of the array. |
java.util.Vector |
getVector()
Get the vector that contains the elements of the array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayHelper(java.util.Vector helper, java.lang.Class componentType)
helper
- A vector that contains the elements of the array.componentType
- The type of the elements of the array.Method Detail |
---|
public void add(java.lang.Object element)
element
- The element.public java.util.Vector getVector()
public java.lang.Class getComponentType()
public java.lang.Object getArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |