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 空值问题
| 从类 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–2022 cn.gtmap. All rights reserved.