Class JAXBUtils.SummaAdapter

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

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

    Constructors
    Constructor Description
    SummaAdapter()  
  • Method Summary

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

    • SummaAdapter

      public SummaAdapter()
  • Method Details

    • marshal

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

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