JIVE Platform
Release 0.2.2

edu.bsu.cs.jive.util
Class TypeFactory

java.lang.Object
  extended by edu.bsu.cs.jive.util.TypeFactory

public final class TypeFactory
extends Object

A factory for the Type interface.

See Also:
Type

Constructor Summary
TypeFactory()
           
 
Method Summary
 Type getType(String typeName)
          Get a type object for the given text description
static TypeFactory instance()
          Get an instance of the type factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFactory

public TypeFactory()
Method Detail

instance

public static TypeFactory instance()
Get an instance of the type factory.

Returns:
the type factory

getType

public Type getType(String typeName)
Get a type object for the given text description

Parameters:
typeName - (e.g. int, MyClass, java.lang.Object)
Returns:
type object wrapper

JIVE Platform
Release 0.2.2