View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
3   // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2019.08.22 at 12:16:01 PM UTC 
6   //
7   
8   
9   package ejava.projects.eleague.dto;
10  
11  import javax.xml.bind.annotation.adapters.XmlAdapter;
12  
13  public class Adapter4
14      extends XmlAdapter<String, Integer>
15  {
16  
17  
18      public Integer unmarshal(String value) {
19          return ((int)javax.xml.bind.DatatypeConverter.parseInt(value));
20      }
21  
22      public String marshal(Integer value) {
23          if (value == null) {
24              return null;
25          }
26          return (javax.xml.bind.DatatypeConverter.printInt((int)(int)value));
27      }
28  
29  }