001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2003.04.17 at 03:04:48 PDT
006: //
007:
008: package org.jaffa.tools.loadtest.domain;
009:
010: /**
011: * This object contains factory methods for each Java content interface and Java element interface generated in the org.jaffa.tools.loadtest.domain package. <p>An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.
012: *
013: */
014: public class ObjectFactory extends
015: com.sun.xml.bind.DefaultJAXBContextImpl {
016:
017: private static java.util.HashMap defaultImplementations = new java.util.HashMap();
018:
019: static {
020: defaultImplementations.put(
021: (org.jaffa.tools.loadtest.domain.Users.class),
022: (org.jaffa.tools.loadtest.domain.impl.UsersImpl.class));
023: defaultImplementations.put(
024: (org.jaffa.tools.loadtest.domain.LogOn.class),
025: (org.jaffa.tools.loadtest.domain.impl.LogOnImpl.class));
026: defaultImplementations.put(
027: (org.jaffa.tools.loadtest.domain.User.class),
028: (org.jaffa.tools.loadtest.domain.impl.UserImpl.class));
029: defaultImplementations
030: .put(
031: (org.jaffa.tools.loadtest.domain.LoadTestingType.class),
032: (org.jaffa.tools.loadtest.domain.impl.LoadTestingTypeImpl.class));
033: defaultImplementations
034: .put(
035: (org.jaffa.tools.loadtest.domain.UnitTest.class),
036: (org.jaffa.tools.loadtest.domain.impl.UnitTestImpl.class));
037: defaultImplementations
038: .put(
039: (org.jaffa.tools.loadtest.domain.UnitTests.class),
040: (org.jaffa.tools.loadtest.domain.impl.UnitTestsImpl.class));
041: defaultImplementations
042: .put(
043: (org.jaffa.tools.loadtest.domain.LoadTesting.class),
044: (org.jaffa.tools.loadtest.domain.impl.LoadTestingImpl.class));
045: defaultImplementations
046: .put(
047: (org.jaffa.tools.loadtest.domain.TestSet.class),
048: (org.jaffa.tools.loadtest.domain.impl.TestSetImpl.class));
049: }
050:
051: /**
052: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.tools.loadtest.domain
053: *
054: */
055: public ObjectFactory() {
056: super (
057: new org.jaffa.tools.loadtest.domain.ObjectFactory.GrammarInfoImpl());
058: }
059:
060: /**
061: * Create an instance of the specified Java content interface.
062: *
063: * @param javaContentInterface the Class object of the javacontent interface to instantiate
064: * @return a new instance
065: * @throws JAXBException if an error occurs
066: */
067: public java.lang.Object newInstance(
068: java.lang.Class javaContentInterface)
069: throws javax.xml.bind.JAXBException {
070: return super .newInstance(javaContentInterface);
071: }
072:
073: /**
074: * Get the specified property. This method can only be
075: * used to get provider specific properties.
076: * Attempting to get an undefined property will result
077: * in a PropertyException being thrown.
078: *
079: * @param name the name of the property to retrieve
080: * @return the value of the requested property
081: * @throws PropertyException when there is an error retrieving the given property or value
082: */
083: public java.lang.Object getProperty(java.lang.String name)
084: throws javax.xml.bind.PropertyException {
085: return super .getProperty(name);
086: }
087:
088: /**
089: * Set the specified property. This method can only be
090: * used to set provider specific properties.
091: * Attempting to set an undefined property will result
092: * in a PropertyException being thrown.
093: *
094: * @param name the name of the property to retrieve
095: * @param value the value of the property to be set
096: * @throws PropertyException when there is an error processing the given property or value
097: */
098: public void setProperty(java.lang.String name,
099: java.lang.Object value)
100: throws javax.xml.bind.PropertyException {
101: super .setProperty(name, value);
102: }
103:
104: /**
105: * Create an instance of Users
106: *
107: * @throws JAXBException if an error occurs
108: */
109: public org.jaffa.tools.loadtest.domain.Users createUsers()
110: throws javax.xml.bind.JAXBException {
111: return ((org.jaffa.tools.loadtest.domain.Users) newInstance((org.jaffa.tools.loadtest.domain.Users.class)));
112: }
113:
114: /**
115: * Create an instance of LogOn
116: *
117: * @throws JAXBException if an error occurs
118: */
119: public org.jaffa.tools.loadtest.domain.LogOn createLogOn()
120: throws javax.xml.bind.JAXBException {
121: return ((org.jaffa.tools.loadtest.domain.LogOn) newInstance((org.jaffa.tools.loadtest.domain.LogOn.class)));
122: }
123:
124: /**
125: * Create an instance of User
126: *
127: * @throws JAXBException if an error occurs
128: */
129: public org.jaffa.tools.loadtest.domain.User createUser()
130: throws javax.xml.bind.JAXBException {
131: return ((org.jaffa.tools.loadtest.domain.User) newInstance((org.jaffa.tools.loadtest.domain.User.class)));
132: }
133:
134: /**
135: * Create an instance of LoadTestingType
136: *
137: * @throws JAXBException if an error occurs
138: */
139: public org.jaffa.tools.loadtest.domain.LoadTestingType createLoadTestingType()
140: throws javax.xml.bind.JAXBException {
141: return ((org.jaffa.tools.loadtest.domain.LoadTestingType) newInstance((org.jaffa.tools.loadtest.domain.LoadTestingType.class)));
142: }
143:
144: /**
145: * Create an instance of UnitTest
146: *
147: * @throws JAXBException if an error occurs
148: */
149: public org.jaffa.tools.loadtest.domain.UnitTest createUnitTest()
150: throws javax.xml.bind.JAXBException {
151: return ((org.jaffa.tools.loadtest.domain.UnitTest) newInstance((org.jaffa.tools.loadtest.domain.UnitTest.class)));
152: }
153:
154: /**
155: * Create an instance of UnitTests
156: *
157: * @throws JAXBException if an error occurs
158: */
159: public org.jaffa.tools.loadtest.domain.UnitTests createUnitTests()
160: throws javax.xml.bind.JAXBException {
161: return ((org.jaffa.tools.loadtest.domain.UnitTests) newInstance((org.jaffa.tools.loadtest.domain.UnitTests.class)));
162: }
163:
164: /**
165: * Create an instance of LoadTesting
166: *
167: * @throws JAXBException if an error occurs
168: */
169: public org.jaffa.tools.loadtest.domain.LoadTesting createLoadTesting()
170: throws javax.xml.bind.JAXBException {
171: return ((org.jaffa.tools.loadtest.domain.LoadTesting) newInstance((org.jaffa.tools.loadtest.domain.LoadTesting.class)));
172: }
173:
174: /**
175: * Create an instance of TestSet
176: *
177: * @throws JAXBException if an error occurs
178: */
179: public org.jaffa.tools.loadtest.domain.TestSet createTestSet()
180: throws javax.xml.bind.JAXBException {
181: return ((org.jaffa.tools.loadtest.domain.TestSet) newInstance((org.jaffa.tools.loadtest.domain.TestSet.class)));
182: }
183:
184: private static class GrammarInfoImpl extends
185: com.sun.xml.bind.GrammarInfo {
186:
187: public java.lang.Class getDefaultImplementation(
188: java.lang.Class javaContentInterface) {
189: return ((java.lang.Class) defaultImplementations
190: .get(javaContentInterface));
191: }
192:
193: public java.lang.Class getRootElement(java.lang.String uri,
194: java.lang.String local) {
195: if (("" == uri) && ("load-testing" == local)) {
196: return (org.jaffa.tools.loadtest.domain.impl.LoadTestingImpl.class);
197: }
198: return null;
199: }
200:
201: public java.lang.String[] getProbePoints() {
202: return new java.lang.String[] { "", "load-testing" };
203: }
204:
205: }
206:
207: }
|