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
12
13
14
15
16
17
18
19
20
21
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
34
35
36 public ObjectFactory() {
37 }
38
39
40
41
42
43 public AddEmployeeResponse createAddEmployeeResponse() {
44 return new AddEmployeeResponse();
45 }
46
47
48
49
50
51 public AddEmployee createAddEmployee() {
52 return new AddEmployee();
53 }
54
55
56
57
58
59 public GetEmployees createGetEmployees() {
60 return new GetEmployees();
61 }
62
63
64
65
66
67 public GetEmployeesResponse createGetEmployeesResponse() {
68 return new GetEmployeesResponse();
69 }
70
71
72
73
74
75 public Employee createEmployee() {
76 return new Employee();
77 }
78
79
80
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
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
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
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 }