org.specrunner.util.output.core
Class OutputFactoryDefault

java.lang.Object
  extended by org.specrunner.util.output.core.OutputFactoryDefault
All Implemented Interfaces:
IOutputFactory

public class OutputFactoryDefault
extends Object
implements IOutputFactory

Default implementation.

Author:
Thiago Santos

Constructor Summary
OutputFactoryDefault()
           
 
Method Summary
 IOutput currentOutput()
          Gets the current output.
 IOutput newOutput()
          Creates a output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputFactoryDefault

public OutputFactoryDefault()
Method Detail

newOutput

public IOutput newOutput()
Description copied from interface: IOutputFactory
Creates a output.

Specified by:
newOutput in interface IOutputFactory
Returns:
A output.

currentOutput

public IOutput currentOutput()
Description copied from interface: IOutputFactory
Gets the current output.

Specified by:
currentOutput in interface IOutputFactory
Returns:
The current output or a new created if none is defined.


Copyright © 2014. All rights reserved.