java.lang.Object
org.jdaemon.util.data.Type
org.jdaemon.util.data.ArrayType
- public class ArrayType
- extends Type
Type object for Saving/Loading arrays from a DataRepresentation
| Fields inherited from class org.jdaemon.util.data.Type |
|
|
Constructor Summary |
ArrayType(Type element_type)
Creates a new instance of ArrayType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
element_type
private Type element_type
ArrayType
public ArrayType(Type element_type)
- Creates a new instance of ArrayType
getArrayClass
private static java.lang.Class getArrayClass(java.lang.Class element_class)
read
public java.lang.Object read(DataRepresentation representation)
throws ReadError,
ObjectInstantiationError
- Reads an array of objects from some DataRepresentation.
- Specified by:
read in class Type
write
public void write(DataRepresentation representation,
java.lang.Object object)
throws WriteError
- Writes an array of objects to some DataRepresentation.
- Specified by:
write in class Type