View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v3.0-03/04/2009 09:20 AM(valikov)-fcs 
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 05:25:03 PM CEST 
6   //
7   
8   
9   package data.worldbank.org.countries;
10  
11  import javax.xml.bind.JAXBElement;
12  import javax.xml.bind.annotation.XmlElementDecl;
13  import javax.xml.bind.annotation.XmlRegistry;
14  import javax.xml.namespace.QName;
15  
16  
17  /***
18   * This object contains factory methods for each 
19   * Java content interface and Java element interface 
20   * generated in the data.worldbank.org.countries package. 
21   * <p>An ObjectFactory allows you to programatically 
22   * construct new instances of the Java representation 
23   * for XML content. The Java representation of XML 
24   * content can consist of schema derived interfaces 
25   * and classes representing the binding of schema 
26   * type definitions, element declarations and model 
27   * groups.  Factory methods for each of these are 
28   * provided in this class.
29   * 
30   */
31  @XmlRegistry
32  public class ObjectFactory {
33  
34      private final static QName _CapitalCity_QNAME = new QName("http://www.worldbank.org", "capitalCity");
35      private final static QName _Latitude_QNAME = new QName("http://www.worldbank.org", "latitude");
36      private final static QName _Longitude_QNAME = new QName("http://www.worldbank.org", "longitude");
37      private final static QName _Iso2Code_QNAME = new QName("http://www.worldbank.org", "iso2Code");
38      private final static QName _Name_QNAME = new QName("http://www.worldbank.org", "name");
39  
40      /***
41       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: data.worldbank.org.countries
42       * 
43       */
44      public ObjectFactory() {
45      }
46  
47      /***
48       * Create an instance of {@link Region }
49       * 
50       */
51      public Region createRegion() {
52          return new Region();
53      }
54  
55      /***
56       * Create an instance of {@link Country }
57       * 
58       */
59      public Country createCountry() {
60          return new Country();
61      }
62  
63      /***
64       * Create an instance of {@link Countries }
65       * 
66       */
67      public Countries createCountries() {
68          return new Countries();
69      }
70  
71      /***
72       * Create an instance of {@link LendingType }
73       * 
74       */
75      public LendingType createLendingType() {
76          return new LendingType();
77      }
78  
79      /***
80       * Create an instance of {@link IncomeLevel }
81       * 
82       */
83      public IncomeLevel createIncomeLevel() {
84          return new IncomeLevel();
85      }
86  
87      /***
88       * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
89       * 
90       */
91      @XmlElementDecl(namespace = "http://www.worldbank.org", name = "capitalCity")
92      public JAXBElement<String> createCapitalCity(String value) {
93          return new JAXBElement<String>(_CapitalCity_QNAME, String.class, null, value);
94      }
95  
96      /***
97       * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
98       * 
99       */
100     @XmlElementDecl(namespace = "http://www.worldbank.org", name = "latitude")
101     public JAXBElement<String> createLatitude(String value) {
102         return new JAXBElement<String>(_Latitude_QNAME, String.class, null, value);
103     }
104 
105     /***
106      * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
107      * 
108      */
109     @XmlElementDecl(namespace = "http://www.worldbank.org", name = "longitude")
110     public JAXBElement<String> createLongitude(String value) {
111         return new JAXBElement<String>(_Longitude_QNAME, String.class, null, value);
112     }
113 
114     /***
115      * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
116      * 
117      */
118     @XmlElementDecl(namespace = "http://www.worldbank.org", name = "iso2Code")
119     public JAXBElement<String> createIso2Code(String value) {
120         return new JAXBElement<String>(_Iso2Code_QNAME, String.class, null, value);
121     }
122 
123     /***
124      * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
125      * 
126      */
127     @XmlElementDecl(namespace = "http://www.worldbank.org", name = "name")
128     public JAXBElement<String> createName(String value) {
129         return new JAXBElement<String>(_Name_QNAME, String.class, null, value);
130     }
131 
132 }