View Javadoc

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