KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > japex > testsuite > ObjectFactory


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.3-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: 2005.06.14 at 12:02:17 PDT
6
//
7

8
9 package com.sun.japex.testsuite;
10
11
12 /**
13  * This object contains factory methods for each
14  * Java content interface and Java element interface
15  * generated in the com.sun.japex.testsuite 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 com.sun.japex.testsuite.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 com.sun.japex.testsuite.impl.runtime.GrammarInfo grammarInfo = new com.sun.japex.testsuite.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (com.sun.japex.testsuite.ObjectFactory.class));
33     public final static java.lang.Class JavaDoc version = (com.sun.japex.testsuite.impl.JAXBVersion.class);
34
35     static {
36         defaultImplementations.put((com.sun.japex.testsuite.TestSuiteType.TestCaseType.class), "com.sun.japex.testsuite.impl.TestSuiteTypeImpl.TestCaseTypeImpl");
37         defaultImplementations.put((com.sun.japex.testsuite.TestSuiteType.DriverType.class), "com.sun.japex.testsuite.impl.TestSuiteTypeImpl.DriverTypeImpl");
38         defaultImplementations.put((com.sun.japex.testsuite.TestSuiteType.class), "com.sun.japex.testsuite.impl.TestSuiteTypeImpl");
39         defaultImplementations.put((com.sun.japex.testsuite.ParamType.class), "com.sun.japex.testsuite.impl.ParamTypeImpl");
40         defaultImplementations.put((com.sun.japex.testsuite.TestSuite.class), "com.sun.japex.testsuite.impl.TestSuiteImpl");
41         rootTagMap.put(new javax.xml.namespace.QName JavaDoc("http://www.sun.com/japex/testSuite", "testSuite"), (com.sun.japex.testsuite.TestSuite.class));
42     }
43
44     /**
45      * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.japex.testsuite
46      *
47      */

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

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

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

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

112     public com.sun.japex.testsuite.TestSuiteType.TestCaseType createTestSuiteTypeTestCaseType()
113         throws javax.xml.bind.JAXBException
114     {
115         return new com.sun.japex.testsuite.impl.TestSuiteTypeImpl.TestCaseTypeImpl();
116     }
117
118     /**
119      * Create an instance of TestSuiteTypeDriverType
120      *
121      * @throws JAXBException
122      * if an error occurs
123      */

124     public com.sun.japex.testsuite.TestSuiteType.DriverType createTestSuiteTypeDriverType()
125         throws javax.xml.bind.JAXBException
126     {
127         return new com.sun.japex.testsuite.impl.TestSuiteTypeImpl.DriverTypeImpl();
128     }
129
130     /**
131      * Create an instance of TestSuiteType
132      *
133      * @throws JAXBException
134      * if an error occurs
135      */

136     public com.sun.japex.testsuite.TestSuiteType createTestSuiteType()
137         throws javax.xml.bind.JAXBException
138     {
139         return new com.sun.japex.testsuite.impl.TestSuiteTypeImpl();
140     }
141
142     /**
143      * Create an instance of ParamType
144      *
145      * @throws JAXBException
146      * if an error occurs
147      */

148     public com.sun.japex.testsuite.ParamType createParamType()
149         throws javax.xml.bind.JAXBException
150     {
151         return new com.sun.japex.testsuite.impl.ParamTypeImpl();
152     }
153
154     /**
155      * Create an instance of TestSuite
156      *
157      * @throws JAXBException
158      * if an error occurs
159      */

160     public com.sun.japex.testsuite.TestSuite createTestSuite()
161         throws javax.xml.bind.JAXBException
162     {
163         return new com.sun.japex.testsuite.impl.TestSuiteImpl();
164     }
165
166 }
167
Popular Tags