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

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Integer,BarometricPressureState>
      extended by com.github.fedy2.weather.binding.adapter.BarometricPressureStateAdapter

public class BarometricPressureStateAdapter
extends XmlAdapter<Integer,BarometricPressureState>

State of the barometric pressure adapter: steady (0), rising (1), or falling (2). (integer: 0, 1, 2)

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

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

Constructor Detail

BarometricPressureStateAdapter

public BarometricPressureStateAdapter()
Method Detail

unmarshal

public BarometricPressureState unmarshal(Integer v)
                                  throws Exception

Specified by:
unmarshal in class XmlAdapter<Integer,BarometricPressureState>
Throws:
Exception

marshal

public Integer marshal(BarometricPressureState v)
                throws Exception

Specified by:
marshal in class XmlAdapter<Integer,BarometricPressureState>
Throws:
Exception


Copyright © 2013. All rights reserved.