org.milyn.javabean.decoders
Class DoubleDecoder

java.lang.Object
  extended by org.milyn.javabean.decoders.DoubleDecoder
All Implemented Interfaces:
ContentHandler, DataDecoder

@DecodeType(value={java.lang.Double.class,double.class})
public class DoubleDecoder
extends Object
implements DataDecoder

Double decoder.

Author:
tom.fennelly@gmail.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.milyn.javabean.DataDecoder
DataDecoder.Factory
 
Constructor Summary
DoubleDecoder()
           
 
Method Summary
 Object decode(String data)
          Decode the supplied String data into a new Object data instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleDecoder

public DoubleDecoder()
Method Detail

decode

public Object decode(String data)
              throws DataDecodeException
Description copied from interface: DataDecoder
Decode the supplied String data into a new Object data instance.

Specified by:
decode in interface DataDecoder
Parameters:
data - Data to be decoded.
Returns:
Decoded data Object.
Throws:
DataDecodeException - Error decoding data.


Copyright © 2008. All Rights Reserved.