Class JAXBUtils.PeriodAdapter

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

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

    Constructors
    Constructor Description
    PeriodAdapter()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String marshal​(Period v)  
    Period 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

    • PeriodAdapter

      public PeriodAdapter()
  • Method Details

    • marshal

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

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