KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > dozer > util > mapping > vo > jaxb > employee > ObjectFactory


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
3
// See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2006.10.05 at 10:03:40 CEST
6
//
7

8
9 package net.sf.dozer.util.mapping.vo.jaxb.employee;
10
11
12 /**
13  * This object contains factory methods for each
14  * Java content interface and Java element interface
15  * generated in the net.sf.dozer.util.mapping.vo.jaxb.employee package.
16  * <p>An ObjectFactory allows you to programatically
17  * construct new instances of the Java representation
18  * for XML content. The Java representation of XML
19  * content can consist of schema derived interfaces
20  * and classes representing the binding of schema
21  * type definitions, element declarations and model
22  * groups. Factory methods for each of these are
23  * provided in this class.
24  *
25  */

26 public class ObjectFactory
27     extends net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.DefaultJAXBContextImpl
28 {
29
30     private static java.util.HashMap JavaDoc defaultImplementations = new java.util.HashMap JavaDoc(16, 0.75F);
31     private static java.util.HashMap JavaDoc rootTagMap = new java.util.HashMap JavaDoc();
32     public final static net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.GrammarInfo grammarInfo = new net.sf.dozer.util.mapping.vo.jaxb.employee.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (net.sf.dozer.util.mapping.vo.jaxb.employee.ObjectFactory.class));
33     public final static java.lang.Class JavaDoc version = (net.sf.dozer.util.mapping.vo.jaxb.employee.impl.JAXBVersion.class);
34
35     static {
36         defaultImplementations.put((net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClassType.class), "net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassTypeImpl");
37         defaultImplementations.put((net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClass.class), "net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassImpl");
38         defaultImplementations.put((net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeType.class), "net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeTypeImpl");
39         defaultImplementations.put((net.sf.dozer.util.mapping.vo.jaxb.employee.Employee.class), "net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeImpl");
40         defaultImplementations.put((net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClassType.AddressType.class), "net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassTypeImpl.AddressTypeImpl");
41         rootTagMap.put(new javax.xml.namespace.QName JavaDoc("http://jaxb.vo.mapping.util.dozer.sf.net/Employee", "EmployeeWithInnerClass"), (net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClass.class));
42         rootTagMap.put(new javax.xml.namespace.QName JavaDoc("http://jaxb.vo.mapping.util.dozer.sf.net/Employee", "Employee"), (net.sf.dozer.util.mapping.vo.jaxb.employee.Employee.class));
43     }
44
45     /**
46      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.sf.dozer.util.mapping.vo.jaxb.employee
47      *
48      */

49     public ObjectFactory() {
50         super(grammarInfo);
51     }
52
53     /**
54      * Create an instance of the specified Java content interface.
55      *
56      * @param javaContentInterface
57      * the Class object of the javacontent interface to instantiate
58      * @return
59      * a new instance
60      * @throws JAXBException
61      * if an error occurs
62      */

63     public java.lang.Object JavaDoc newInstance(java.lang.Class JavaDoc javaContentInterface)
64         throws javax.xml.bind.JAXBException
65     {
66         return super.newInstance(javaContentInterface);
67     }
68
69     /**
70      * Get the specified property. This method can only be
71      * used to get provider specific properties.
72      * Attempting to get an undefined property will result
73      * in a PropertyException being thrown.
74      *
75      * @param name
76      * the name of the property to retrieve
77      * @return
78      * the value of the requested property
79      * @throws PropertyException
80      * when there is an error retrieving the given property or value
81      */

82     public java.lang.Object JavaDoc getProperty(java.lang.String JavaDoc name)
83         throws javax.xml.bind.PropertyException
84     {
85         return super.getProperty(name);
86     }
87
88     /**
89      * Set the specified property. This method can only be
90      * used to set provider specific properties.
91      * Attempting to set an undefined property will result
92      * in a PropertyException being thrown.
93      *
94      * @param value
95      * the value of the property to be set
96      * @param name
97      * the name of the property to retrieve
98      * @throws PropertyException
99      * when there is an error processing the given property or value
100      */

101     public void setProperty(java.lang.String JavaDoc name, java.lang.Object JavaDoc value)
102         throws javax.xml.bind.PropertyException
103     {
104         super.setProperty(name, value);
105     }
106
107     /**
108      * Create an instance of EmployeeWithInnerClassType
109      *
110      * @throws JAXBException
111      * if an error occurs
112      */

113     public net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClassType createEmployeeWithInnerClassType()
114         throws javax.xml.bind.JAXBException
115     {
116         return new net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassTypeImpl();
117     }
118
119     /**
120      * Create an instance of EmployeeWithInnerClass
121      *
122      * @throws JAXBException
123      * if an error occurs
124      */

125     public net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClass createEmployeeWithInnerClass()
126         throws javax.xml.bind.JAXBException
127     {
128         return new net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassImpl();
129     }
130
131     /**
132      * Create an instance of EmployeeType
133      *
134      * @throws JAXBException
135      * if an error occurs
136      */

137     public net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeType createEmployeeType()
138         throws javax.xml.bind.JAXBException
139     {
140         return new net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeTypeImpl();
141     }
142
143     /**
144      * Create an instance of Employee
145      *
146      * @throws JAXBException
147      * if an error occurs
148      */

149     public net.sf.dozer.util.mapping.vo.jaxb.employee.Employee createEmployee()
150         throws javax.xml.bind.JAXBException
151     {
152         return new net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeImpl();
153     }
154
155     /**
156      * Create an instance of EmployeeWithInnerClassTypeAddressType
157      *
158      * @throws JAXBException
159      * if an error occurs
160      */

161     public net.sf.dozer.util.mapping.vo.jaxb.employee.EmployeeWithInnerClassType.AddressType createEmployeeWithInnerClassTypeAddressType()
162         throws javax.xml.bind.JAXBException
163     {
164         return new net.sf.dozer.util.mapping.vo.jaxb.employee.impl.EmployeeWithInnerClassTypeImpl.AddressTypeImpl();
165     }
166
167 }
168
Popular Tags