com.github.fedy2.weather.binding.adapter
Class PressureUnitAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,PressureUnit>
com.github.fedy2.weather.binding.adapter.PressureUnitAdapter
public class PressureUnitAdapter
- extends XmlAdapter<String,PressureUnit>
Units of barometric pressure adapter, in for pounds per square inch or mb for millibars.
- Author:
- "Federico De Faveri defaveri@gmail.com"
PressureUnitAdapter
public PressureUnitAdapter()
unmarshal
public PressureUnit unmarshal(String v)
throws Exception
-
- Specified by:
unmarshal in class XmlAdapter<String,PressureUnit>
- Throws:
Exception
marshal
public String marshal(PressureUnit v)
throws Exception
-
- Specified by:
marshal in class XmlAdapter<String,PressureUnit>
- Throws:
Exception
Copyright © 2013. All rights reserved.