KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > servicemix > samples > wsdl_first > types > ObjectFactory


1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17 package org.apache.servicemix.samples.wsdl_first.types;
18
19 import javax.xml.bind.annotation.XmlRegistry;
20
21
22 /**
23  * This object contains factory methods for each
24  * Java content interface and Java element interface
25  * generated in the org.apache.servicemix.samples.wsdl_first.types package.
26  * <p>An ObjectFactory allows you to programatically
27  * construct new instances of the Java representation
28  * for XML content. The Java representation of XML
29  * content can consist of schema derived interfaces
30  * and classes representing the binding of schema
31  * type definitions, element declarations and model
32  * groups. Factory methods for each of these are
33  * provided in this class.
34  *
35  */

36 @XmlRegistry
37 public class ObjectFactory {
38
39
40     /**
41      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.servicemix.samples.wsdl_first.types
42      *
43      */

44     public ObjectFactory() {
45     }
46
47     /**
48      * Create an instance of {@link GetPersonResponse }
49      *
50      */

51     public GetPersonResponse createGetPersonResponse() {
52         return new GetPersonResponse();
53     }
54
55     /**
56      * Create an instance of {@link GetPerson }
57      *
58      */

59     public GetPerson createGetPerson() {
60         return new GetPerson();
61     }
62
63     /**
64      * Create an instance of {@link UnknownPersonFault }
65      *
66      */

67     public UnknownPersonFault createUnknownPersonFault() {
68         return new UnknownPersonFault();
69     }
70
71 }
72
Popular Tags