Class LongAdapter


  • public class LongAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.lang.Long>
    The Class LongAdapter.

    The null representation of some long values inside the XML version of an RRD is expressed as 'U'

    Author:
    Alejandro Galue
    • Constructor Summary

      Constructors 
      Constructor Description
      LongAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String marshal​(java.lang.Long value)  
      java.lang.Long unmarshal​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

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

      • LongAdapter

        public LongAdapter()
    • Method Detail

      • marshal

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

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