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

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

public class SpeedUnitAdapter
extends XmlAdapter<String,SpeedUnit>

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

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

Constructor Detail

SpeedUnitAdapter

public SpeedUnitAdapter()
Method Detail

unmarshal

public SpeedUnit unmarshal(String v)
                    throws Exception

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

marshal

public String marshal(SpeedUnit v)
               throws Exception

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


Copyright © 2013. All rights reserved.