org.specrunner.converters.core
Class ConverterNull

java.lang.Object
  extended by org.specrunner.converters.core.ConverterDefault
      extended by org.specrunner.converters.core.ConverterNull
All Implemented Interfaces:
Serializable, IConverter, IResetable

public class ConverterNull
extends ConverterDefault

Turn everything to null.

Author:
Thiago Santos.
See Also:
Serialized Form

Constructor Summary
ConverterNull()
           
 
Method Summary
 Object convert(Object obj, Object[] args)
          Convert a given object to another using some arguments as auxiliary.
 
Methods inherited from class org.specrunner.converters.core.ConverterDefault
accept, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterNull

public ConverterNull()
Method Detail

convert

public Object convert(Object obj,
                      Object[] args)
Description copied from interface: IConverter
Convert a given object to another using some arguments as auxiliary.

Specified by:
convert in interface IConverter
Overrides:
convert in class ConverterDefault
Parameters:
obj - The value to be converted.
args - The arguments.
Returns:
The converted object.


Copyright © 2015. All rights reserved.