View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package net.webservicex;
8   
9   import javax.xml.bind.JAXBElement;
10  import javax.xml.bind.annotation.XmlElementDecl;
11  import javax.xml.bind.annotation.XmlRegistry;
12  import javax.xml.namespace.QName;
13  
14  
15  /**
16   * This object contains factory methods for each 
17   * Java content interface and Java element interface 
18   * generated in the net.webservicex package. 
19   * <p>An ObjectFactory allows you to programatically 
20   * construct new instances of the Java representation 
21   * for XML content. The Java representation of XML 
22   * content can consist of schema derived interfaces 
23   * and classes representing the binding of schema 
24   * type definitions, element declarations and model 
25   * groups.  Factory methods for each of these are 
26   * provided in this class.
27   * 
28   */
29  @XmlRegistry
30  public class ObjectFactory {
31  
32      private final static QName _String_QNAME = new QName("http://www.webserviceX.NET/", "string");
33  
34      /**
35       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.webservicex
36       * 
37       */
38      public ObjectFactory() {
39      }
40  
41      /**
42       * Create an instance of {@link GetQuote }
43       * 
44       */
45      public GetQuote createGetQuote() {
46          return new GetQuote();
47      }
48  
49      /**
50       * Create an instance of {@link GetQuoteResponse }
51       * 
52       */
53      public GetQuoteResponse createGetQuoteResponse() {
54          return new GetQuoteResponse();
55      }
56  
57      /**
58       * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
59       * 
60       */
61      @XmlElementDecl(namespace = "http://www.webserviceX.NET/", name = "string")
62      public JAXBElement<String> createString(String value) {
63          return new JAXBElement<String>(_String_QNAME, String.class, null, value);
64      }
65  
66  }