com.aliyun.mns.common.parser
类 JaxbDateSerializer

java.lang.Object
  继承者 javax.xml.bind.annotation.adapters.XmlAdapter<String,Date>
      继承者 com.aliyun.mns.common.parser.JaxbDateSerializer

public class JaxbDateSerializer
extends XmlAdapter<String,Date>


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

构造方法详细信息

JaxbDateSerializer

public JaxbDateSerializer()
方法详细信息

marshal

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

unmarshal

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


Copyright © 2016. All Rights Reserved.