org.graffiti.util.attributes
Class PrimitiveAttributeFactoryFactoryManager

java.lang.Object
  extended by org.graffiti.util.attributes.AttributeFactoryFactoryManager
      extended by org.graffiti.util.attributes.PrimitiveAttributeFactoryFactoryManager

public class PrimitiveAttributeFactoryFactoryManager
extends AttributeFactoryFactoryManager

Factory class to create default appropriate Attributes to hold values of the primitive types that are represented by the Class objects passed to AttributeFactoryFactoryManager.createAttribute(String, Class) or AttributeFactoryFactoryManager.createAttribute(String, Class, org.graffiti.util.Callback, org.graffiti.util.VoidCallback) . E.g., a new BooleanAttribute is created if Boolean.class or boolean.class is passed. One may optionally specify callbacks to be called by the setter methods of the created Attributes.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner

Nested Class Summary
static class PrimitiveAttributeFactoryFactoryManager.BooleanAttributeFactoryFactory
          AttributeFactoryFactory to create the AttributeFactory to create BooleanAttributes.
static class PrimitiveAttributeFactoryFactoryManager.ByteAttributeFactoryFactory
          AttributeFactoryFactory to create the AttributeFactory to create ByteAttributes.
static class PrimitiveAttributeFactoryFactoryManager.DoubleAttributeFactoryFactory
          AttributeFactoryFactory to create the AttributeFactory to create DoubleAttributes.
static class PrimitiveAttributeFactoryFactoryManager.FloatAttributeFactoryFactory
          AttributeFactoryFactory to create the AttributeFactory to create FloatAttributes.
static class PrimitiveAttributeFactoryFactoryManager.IntegerAttributeFactoryFactory
          AttributeFactoryFactory to create the AttributeFactory to create IntegerAttributes.
static class PrimitiveAttributeFactoryFactoryManager.LongAttributeFactoryFactory
          AttributeFactoryFactory to create the AttributeFactory to create LongAttributes.
static class PrimitiveAttributeFactoryFactoryManager.ShortAttributeFactoryFactory
          AttributeFactoryFactory to create the AttributeFactory to create ShortAttributes.
static class PrimitiveAttributeFactoryFactoryManager.StringAttributeFactoryFactory
          AttributeFactoryFactory to create the AttributeFactory to create StringAttributes.
 
Constructor Summary
PrimitiveAttributeFactoryFactoryManager()
          Constructs a PrimitiveAttributeFactoryFactoryManager.
 
Method Summary
 
Methods inherited from class org.graffiti.util.attributes.AttributeFactoryFactoryManager
add, createAttribute, createAttribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveAttributeFactoryFactoryManager

public PrimitiveAttributeFactoryFactoryManager()
Constructs a PrimitiveAttributeFactoryFactoryManager.



Generated at 2012-05-30 11:00:14 PM CEST