com.github.fedy2.weather.binding.adapter
Class BarometricPressureStateAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<Integer,BarometricPressureState>
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"
BarometricPressureStateAdapter
public BarometricPressureStateAdapter()
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.