Package ipsk.text

Class Version.VersionXMLAdapter

  • Enclosing class:
    Version

    public static class Version.VersionXMLAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,Version>
    XML adapter converts version from/to string.
    Author:
    klausj
    • Method Summary

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

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

      • VersionXMLAdapter

        public VersionXMLAdapter()
    • Method Detail

      • marshal

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

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