com.ideanest.attributes.impl
Class AttributeCreator

java.lang.Object
  extended bycom.ideanest.attributes.impl.AttributeCreator
All Implemented Interfaces:
Creator, java.io.Serializable

public class AttributeCreator
extends java.lang.Object
implements Creator

A creator for attributes that cannot be serialized. It is initialized with all the necessary data, and recreates the original attribute when deserialized.

Version:
$Revision: 1.3 $ ($Date: 2003/08/01 04:52:06 $)
Author:
Piotr Kaminski
See Also:
Serialized Form

Constructor Summary
AttributeCreator(java.lang.Class attributeClass, java.lang.String[] constructorArgs, java.lang.String[] propertyPairs)
           
 
Method Summary
 java.lang.Object create()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeCreator

public AttributeCreator(java.lang.Class attributeClass,
                        java.lang.String[] constructorArgs,
                        java.lang.String[] propertyPairs)
Method Detail

create

public java.lang.Object create()
                        throws java.lang.InstantiationException,
                               java.lang.IllegalAccessException,
                               java.lang.reflect.InvocationTargetException,
                               java.lang.NoSuchMethodException
Specified by:
create in interface Creator
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException