cn.gtmap.estateplat.utils
类 JaxbIntegerAdapter

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

public class JaxbIntegerAdapter
extends XmlAdapter<String,Integer>

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


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

构造方法详细信息

JaxbIntegerAdapter

public JaxbIntegerAdapter()
方法详细信息

unmarshal

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

marshal

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


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