com.github.fedy2.weather.binding.adapter
Class FloatAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Float>
      extended by com.github.fedy2.weather.binding.adapter.FloatAdapter

public class FloatAdapter
extends XmlAdapter<String,Float>

Author:
"Federico De Faveri defaveri@gmail.com"

Constructor Summary
FloatAdapter()
           
 
Method Summary
 String marshal(Float v)
          
 Float unmarshal(String v)
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatAdapter

public FloatAdapter()
Method Detail

marshal

public String marshal(Float v)
               throws Exception

Specified by:
marshal in class XmlAdapter<String,Float>
Throws:
Exception

unmarshal

public Float unmarshal(String v)
                throws Exception

Specified by:
unmarshal in class XmlAdapter<String,Float>
Throws:
Exception


Copyright © 2013. All rights reserved.