Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdaemon.util.data
Class AbstractType  view AbstractType download AbstractType.java

java.lang.Object
  extended byorg.jdaemon.util.data.Type
      extended byorg.jdaemon.util.data.AbstractType

public class AbstractType
extends Type


Field Summary
 
Fields inherited from class org.jdaemon.util.data.Type
 
Constructor Summary
AbstractType(java.lang.String name, java.lang.Class my_class)
          Creates a new instance of AbstractType
 
Method Summary
 java.lang.Object read(DataRepresentation representation)
          Creates an object from some DataRepresentation
 void write(DataRepresentation representation, java.lang.Object object)
          Writes an object to some DataRepresentation
 
Methods inherited from class org.jdaemon.util.data.Type
addSubtype, get, get, getJavaClass, getName, getType, getType, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractType

public AbstractType(java.lang.String name,
                    java.lang.Class my_class)
Creates a new instance of AbstractType

Method Detail

read

public java.lang.Object read(DataRepresentation representation)
                      throws ReadError,
                             ObjectInstantiationError
Creates an object from some DataRepresentation

Specified by:
read in class Type

write

public void write(DataRepresentation representation,
                  java.lang.Object object)
           throws WriteError
Writes an object to some DataRepresentation

Specified by:
write in class Type