1 /*
2 * Copyright 2001-2010 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17 package org.apache.juddi.samples;
18
19 import javax.xml.bind.JAXBElement;
20 import javax.xml.bind.annotation.XmlElementDecl;
21 import javax.xml.bind.annotation.XmlRegistry;
22 import javax.xml.namespace.QName;
23
24
25 /**
26 * This object contains factory methods for each
27 * Java content interface and Java element interface
28 * generated in the org.apache.juddi.samples package.
29 * <p>An ObjectFactory allows you to programatically
30 * construct new instances of the Java representation
31 * for XML content. The Java representation of XML
32 * content can consist of schema derived interfaces
33 * and classes representing the binding of schema
34 * type definitions, element declarations and model
35 * groups. Factory methods for each of these are
36 * provided in this class.
37 *
38 */
39 @XmlRegistry
40 public class ObjectFactory {
41
42 private final static QName _SayHiResponse_QNAME = new QName("http://samples.juddi.apache.org/", "sayHiResponse");
43 private final static QName _SayHi_QNAME = new QName("http://samples.juddi.apache.org/", "sayHi");
44
45 /**
46 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.juddi.samples
47 *
48 */
49 public ObjectFactory() {
50 }
51
52 /**
53 * Create an instance of {@link SayHiResponse }
54 *
55 */
56 public SayHiResponse createSayHiResponse() {
57 return new SayHiResponse();
58 }
59
60 /**
61 * Create an instance of {@link SayHi }
62 *
63 */
64 public SayHi createSayHi() {
65 return new SayHi();
66 }
67
68 /**
69 * Create an instance of {@link JAXBElement }{@code <}{@link SayHiResponse }{@code >}}
70 *
71 */
72 @XmlElementDecl(namespace = "http://samples.juddi.apache.org/", name = "sayHiResponse")
73 public JAXBElement<SayHiResponse> createSayHiResponse(SayHiResponse value) {
74 return new JAXBElement<SayHiResponse>(_SayHiResponse_QNAME, SayHiResponse.class, null, value);
75 }
76
77 /**
78 * Create an instance of {@link JAXBElement }{@code <}{@link SayHi }{@code >}}
79 *
80 */
81 @XmlElementDecl(namespace = "http://samples.juddi.apache.org/", name = "sayHi")
82 public JAXBElement<SayHi> createSayHi(SayHi value) {
83 return new JAXBElement<SayHi>(_SayHi_QNAME, SayHi.class, null, value);
84 }
85
86 }