com.rubecula.jquantity
Class PresentationFactory

java.lang.Object
  extended bycom.rubecula.jquantity.PresentationFactory
All Implemented Interfaces:
PresentationFactoryInterface

public class PresentationFactory
extends java.lang.Object
implements PresentationFactoryInterface

Factory class for Presentations.

Version:
$Revision: 1.3 $
Author:
Robin Hillyard

Constructor Summary
PresentationFactory()
           
 
Method Summary
 Presentation createPresentation(java.lang.String string)
          Method to create a new Presentation from this Factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresentationFactory

public PresentationFactory()
Method Detail

createPresentation

public Presentation createPresentation(java.lang.String string)
                                throws PresentationException
Method to create a new Presentation from this Factory.

Specified by:
createPresentation in interface PresentationFactoryInterface
Parameters:
string - the string from which the presentation will be formed.
Returns:
the newly minted presentation.
Throws:
PresentationException - problem parsing the string given.