1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2010.06.07 at 11:51:44 PM CEST
6 //
7
8
9 package org.w3._2001.xmlschema;
10
11 import javax.xml.bind.annotation.adapters.XmlAdapter;
12
13 public class Adapter1
14 extends XmlAdapter<String, Integer>
15 {
16
17
18 public Integer unmarshal(String value) {
19 return new Integer(value);
20 }
21
22 public String marshal(Integer value) {
23 if (value == null) {
24 return null;
25 }
26 return value.toString();
27 }
28
29 }