org.jrabbit.base.data
Interface Factory<T>

Type Parameters:
T - The type of object to create.
All Known Subinterfaces:
KeyedContainer<T>, LayeredRenderList
All Known Implementing Classes:
BaseKeyedContainer, Cache, DefaultLayeredRenderList, FontCache, GroupedCache, ImageCache, ImageCache.ImageFactory, OrderedKeyedContainer, SoundBoard

public interface Factory<T>

A Factory is just that - an object that creates objects of a particular type, given a String as a base reference.

Author:
Chris Molini

Method Summary
 T create(java.lang.String reference)
          Creates an object from the supplied reference.
 

Method Detail

create

T create(java.lang.String reference)
Creates an object from the supplied reference.

Parameters:
reference - The information we use to define the object.
Returns:
The object built from the String's data.