de.hedenus.xmltypes
Class TypeFactory

java.lang.Object
  extended by de.hedenus.xmltypes.TypeFactory
Direct Known Subclasses:
TypeFactoryImpl

public abstract class TypeFactory
extends java.lang.Object

Factory for the implementation of the XML typing system.

Author:
Michael Hedenus

Constructor Summary
TypeFactory()
           
 
Method Summary
abstract  Type getType(java.lang.String spec)
          Returns a type according to its literal specification.
static TypeFactory newInstance()
           
static void printTypeHierarchy(Type type)
          Helper method for development.
 
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

newInstance

public static TypeFactory newInstance()
                               throws TypeFactoryConfigurationException
Throws:
TypeFactoryConfigurationException

getType

public abstract Type getType(java.lang.String spec)
                      throws TypeException
Returns a type according to its literal specification.

Throws:
TypeException

printTypeHierarchy

public static final void printTypeHierarchy(Type type)
Helper method for development.