cn.gtmap.estateplat.utils
类 JaxbDateAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Date>
cn.gtmap.estateplat.utils.JaxbDateAdapter
public class JaxbDateAdapter
- extends XmlAdapter<String,Date>
Created by zdd on 2015/11/28.
序列化对象适配器 格式化日期 处理空值问题等
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxbDateAdapter
public JaxbDateAdapter()
unmarshal
public Date unmarshal(String s)
throws Exception
- 指定者:
- 类
XmlAdapter<String,Date> 中的 unmarshal
- 抛出:
Exception
marshal
public String marshal(Date date)
throws Exception
- 指定者:
- 类
XmlAdapter<String,Date> 中的 marshal
- 抛出:
Exception
Copyright © 2015–2020 cn.gtmap. All rights reserved.