View Javadoc

1   
2   package org.mule.example.employee;
3   
4   import javax.xml.bind.JAXBElement;
5   import javax.xml.bind.annotation.XmlElementDecl;
6   import javax.xml.bind.annotation.XmlRegistry;
7   import javax.xml.namespace.QName;
8   
9   
10  /**
11   * This object contains factory methods for each 
12   * Java content interface and Java element interface 
13   * generated in the org.mule.example.employee package. 
14   * <p>An ObjectFactory allows you to programatically 
15   * construct new instances of the Java representation 
16   * for XML content. The Java representation of XML 
17   * content can consist of schema derived interfaces 
18   * and classes representing the binding of schema 
19   * type definitions, element declarations and model 
20   * groups.  Factory methods for each of these are 
21   * provided in this class.
22   * 
23   */
24  @XmlRegistry
25  public class ObjectFactory {
26  
27      private final static QName _AddEmployee_QNAME = new QName("http://employee.example.mule.org/", "addEmployee");
28      private final static QName _GetEmployees_QNAME = new QName("http://employee.example.mule.org/", "getEmployees");
29      private final static QName _AddEmployeeResponse_QNAME = new QName("http://employee.example.mule.org/", "addEmployeeResponse");
30      private final static QName _GetEmployeesResponse_QNAME = new QName("http://employee.example.mule.org/", "getEmployeesResponse");
31  
32      /**
33       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.mule.example.employee
34       * 
35       */
36      public ObjectFactory() {
37      }
38  
39      /**
40       * Create an instance of {@link Employee }
41       * 
42       */
43      public Employee createEmployee() {
44          return new Employee();
45      }
46  
47      /**
48       * Create an instance of {@link AddEmployee }
49       * 
50       */
51      public AddEmployee createAddEmployee() {
52          return new AddEmployee();
53      }
54  
55      /**
56       * Create an instance of {@link AddEmployeeResponse }
57       * 
58       */
59      public AddEmployeeResponse createAddEmployeeResponse() {
60          return new AddEmployeeResponse();
61      }
62  
63      /**
64       * Create an instance of {@link GetEmployees }
65       * 
66       */
67      public GetEmployees createGetEmployees() {
68          return new GetEmployees();
69      }
70  
71      /**
72       * Create an instance of {@link GetEmployeesResponse }
73       * 
74       */
75      public GetEmployeesResponse createGetEmployeesResponse() {
76          return new GetEmployeesResponse();
77      }
78  
79      /**
80       * Create an instance of {@link JAXBElement }{@code <}{@link AddEmployee }{@code >}}
81       * 
82       */
83      @XmlElementDecl(namespace = "http://employee.example.mule.org/", name = "addEmployee")
84      public JAXBElement<AddEmployee> createAddEmployee(AddEmployee value) {
85          return new JAXBElement<AddEmployee>(_AddEmployee_QNAME, AddEmployee.class, null, value);
86      }
87  
88      /**
89       * Create an instance of {@link JAXBElement }{@code <}{@link GetEmployees }{@code >}}
90       * 
91       */
92      @XmlElementDecl(namespace = "http://employee.example.mule.org/", name = "getEmployees")
93      public JAXBElement<GetEmployees> createGetEmployees(GetEmployees value) {
94          return new JAXBElement<GetEmployees>(_GetEmployees_QNAME, GetEmployees.class, null, value);
95      }
96  
97      /**
98       * Create an instance of {@link JAXBElement }{@code <}{@link AddEmployeeResponse }{@code >}}
99       * 
100      */
101     @XmlElementDecl(namespace = "http://employee.example.mule.org/", name = "addEmployeeResponse")
102     public JAXBElement<AddEmployeeResponse> createAddEmployeeResponse(AddEmployeeResponse value) {
103         return new JAXBElement<AddEmployeeResponse>(_AddEmployeeResponse_QNAME, AddEmployeeResponse.class, null, value);
104     }
105 
106     /**
107      * Create an instance of {@link JAXBElement }{@code <}{@link GetEmployeesResponse }{@code >}}
108      * 
109      */
110     @XmlElementDecl(namespace = "http://employee.example.mule.org/", name = "getEmployeesResponse")
111     public JAXBElement<GetEmployeesResponse> createGetEmployeesResponse(GetEmployeesResponse value) {
112         return new JAXBElement<GetEmployeesResponse>(_GetEmployeesResponse_QNAME, GetEmployeesResponse.class, null, value);
113     }
114 
115 }