Class DSAdapter


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

    The XML representation sometimes contain spaces when defining the data source.

    Author:
    Alejandro Galue
    • Constructor Summary

      Constructors 
      Constructor Description
      DSAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String marshal​(DSType type)  
      DSType 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

      • DSAdapter

        public DSAdapter()
    • Method Detail

      • marshal

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

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