View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-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: 2008.07.04 at 11:56:00 PM CEST 
6   //
7   
8   
9   package org.springframework.ws.samples.airline.schema;
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 org.springframework.ws.samples.airline.schema 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 _BookFlightResponse_QNAME = new QName("http://www.springframework.org/spring-ws/samples/airline/schemas/messages", "BookFlightResponse");
35      private final static QName _GetFrequentFlyerMileageRequest_QNAME = new QName("http://www.springframework.org/spring-ws/samples/airline/schemas/messages", "GetFrequentFlyerMileageRequest");
36      private final static QName _GetFrequentFlyerMileageResponse_QNAME = new QName("http://www.springframework.org/spring-ws/samples/airline/schemas/messages", "GetFrequentFlyerMileageResponse");
37  
38      /**
39       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.springframework.ws.samples.airline.schema
40       * 
41       */
42      public ObjectFactory() {
43      }
44  
45      /**
46       * Create an instance of {@link GetFlightsRequest }
47       * 
48       */
49      public GetFlightsRequest createGetFlightsRequest() {
50          return new GetFlightsRequest();
51      }
52  
53      /**
54       * Create an instance of {@link Flight }
55       * 
56       */
57      public Flight createFlight() {
58          return new Flight();
59      }
60  
61      /**
62       * Create an instance of {@link BookFlightRequest.Passengers }
63       * 
64       */
65      public BookFlightRequest.Passengers createBookFlightRequestPassengers() {
66          return new BookFlightRequest.Passengers();
67      }
68  
69      /**
70       * Create an instance of {@link Airport }
71       * 
72       */
73      public Airport createAirport() {
74          return new Airport();
75      }
76  
77      /**
78       * Create an instance of {@link Ticket.Passengers }
79       * 
80       */
81      public Ticket.Passengers createTicketPassengers() {
82          return new Ticket.Passengers();
83      }
84  
85      /**
86       * Create an instance of {@link BookFlightRequest }
87       * 
88       */
89      public BookFlightRequest createBookFlightRequest() {
90          return new BookFlightRequest();
91      }
92  
93      /**
94       * Create an instance of {@link Ticket }
95       * 
96       */
97      public Ticket createTicket() {
98          return new Ticket();
99      }
100 
101     /**
102      * Create an instance of {@link Name }
103      * 
104      */
105     public Name createName() {
106         return new Name();
107     }
108 
109     /**
110      * Create an instance of {@link GetFlightsResponse }
111      * 
112      */
113     public GetFlightsResponse createGetFlightsResponse() {
114         return new GetFlightsResponse();
115     }
116 
117     /**
118      * Create an instance of {@link JAXBElement }{@code <}{@link Ticket }{@code >}}
119      * 
120      */
121     @XmlElementDecl(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", name = "BookFlightResponse")
122     public JAXBElement<Ticket> createBookFlightResponse(Ticket value) {
123         return new JAXBElement<Ticket>(_BookFlightResponse_QNAME, Ticket.class, null, value);
124     }
125 
126     /**
127      * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
128      * 
129      */
130     @XmlElementDecl(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", name = "GetFrequentFlyerMileageRequest")
131     public JAXBElement<String> createGetFrequentFlyerMileageRequest(String value) {
132         return new JAXBElement<String>(_GetFrequentFlyerMileageRequest_QNAME, String.class, null, value);
133     }
134 
135     /**
136      * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}}
137      * 
138      */
139     @XmlElementDecl(namespace = "http://www.springframework.org/spring-ws/samples/airline/schemas/messages", name = "GetFrequentFlyerMileageResponse")
140     public JAXBElement<Integer> createGetFrequentFlyerMileageResponse(Integer value) {
141         return new JAXBElement<Integer>(_GetFrequentFlyerMileageResponse_QNAME, Integer.class, null, value);
142     }
143 
144 }