Class JAXBUtils.PeriodWithTimeAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​PeriodWithTime>
ru.bitel.common.xml.JAXBUtils.PeriodWithTimeAdapter
Enclosing class:
JAXBUtils

public static class JAXBUtils.PeriodWithTimeAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​PeriodWithTime>
  • Constructor Summary

    Constructors
    Constructor Description
    PeriodWithTimeAdapter()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String marshal​(PeriodWithTime periodWithTime)  
    PeriodWithTime unmarshal​(java.lang.String v)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PeriodWithTimeAdapter

      public PeriodWithTimeAdapter()
  • Method Details

    • marshal

      public java.lang.String marshal​(PeriodWithTime periodWithTime) throws java.lang.Exception
      Specified by:
      marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​PeriodWithTime>
      Throws:
      java.lang.Exception
    • unmarshal

      public PeriodWithTime unmarshal​(java.lang.String v) throws java.lang.Exception
      Specified by:
      unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​PeriodWithTime>
      Throws:
      java.lang.Exception