KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > easybeans > tests > common > ws > ejbref > gen > types > ObjectFactory


1
2 package org.objectweb.easybeans.tests.common.ws.ejbref.gen.types;
3
4 import javax.xml.bind.annotation.XmlRegistry;
5 import org.objectweb.easybeans.tests.common.ws.ejbref.gen.types.Check;
6 import org.objectweb.easybeans.tests.common.ws.ejbref.gen.types.CheckResponse;
7 import org.objectweb.easybeans.tests.common.ws.ejbref.gen.types.ObjectFactory;
8
9
10 /**
11  * This object contains factory methods for each
12  * Java content interface and Java element interface
13  * generated in the org.objectweb.easybeans.tests.common.ws.ejbref.gen.types 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
28     /**
29      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.objectweb.easybeans.tests.common.ws.ejbref.gen.types
30      *
31      */

32     public ObjectFactory() {
33     }
34
35     /**
36      * Create an instance of {@link Check }
37      *
38      */

39     public Check createCheck() {
40         return new Check();
41     }
42
43     /**
44      * Create an instance of {@link CheckResponse }
45      *
46      */

47     public CheckResponse createCheckResponse() {
48         return new CheckResponse();
49     }
50
51 }
52
Popular Tags