cn.gtmap.estateplat.utils
类 JaxbDoubleAdapter

java.lang.Object
  继承者 javax.xml.bind.annotation.adapters.XmlAdapter<String,Double>
      继承者 cn.gtmap.estateplat.utils.JaxbDoubleAdapter

public class JaxbDoubleAdapter
extends XmlAdapter<String,Double>

Created by zdd on 2015/11/28. 序列化对象适配器 处理Double 空值问题


构造方法摘要
JaxbDoubleAdapter()
           
 
方法摘要
 String marshal(Double dbl)
           
 Double unmarshal(String s)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

JaxbDoubleAdapter

public JaxbDoubleAdapter()
方法详细信息

unmarshal

public Double unmarshal(String s)
                 throws Exception
指定者:
XmlAdapter<String,Double> 中的 unmarshal
抛出:
Exception

marshal

public String marshal(Double dbl)
               throws Exception
指定者:
XmlAdapter<String,Double> 中的 marshal
抛出:
Exception


Copyright © 2015–2018 cn.gtmap. All rights reserved.