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: 2004.02.20 at 03:56:47 PST
006: //
007:
008: package org.jaffa.patterns.library.domain_creator_1_1.domain;
009:
010: /**
011: * This object contains factory methods for each Java content interface and Java element interface generated in the org.jaffa.patterns.library.domain_creator_1_1.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
021: .put(
022: (org.jaffa.patterns.library.domain_creator_1_1.domain.Root.class),
023: (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.RootImpl.class));
024: defaultImplementations
025: .put(
026: (org.jaffa.patterns.library.domain_creator_1_1.domain.Relationship.class),
027: (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.RelationshipImpl.class));
028: defaultImplementations
029: .put(
030: (org.jaffa.patterns.library.domain_creator_1_1.domain.Fields.class),
031: (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.FieldsImpl.class));
032: defaultImplementations
033: .put(
034: (org.jaffa.patterns.library.domain_creator_1_1.domain.Field.class),
035: (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.FieldImpl.class));
036: defaultImplementations
037: .put(
038: (org.jaffa.patterns.library.domain_creator_1_1.domain.RelationshipFields.class),
039: (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.RelationshipFieldsImpl.class));
040: defaultImplementations
041: .put(
042: (org.jaffa.patterns.library.domain_creator_1_1.domain.RootType.class),
043: (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.RootTypeImpl.class));
044: defaultImplementations
045: .put(
046: (org.jaffa.patterns.library.domain_creator_1_1.domain.Relationships.class),
047: (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.RelationshipsImpl.class));
048: defaultImplementations
049: .put(
050: (org.jaffa.patterns.library.domain_creator_1_1.domain.RelationshipField.class),
051: (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.RelationshipFieldImpl.class));
052: }
053:
054: /**
055: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.patterns.library.domain_creator_1_1.domain
056: *
057: */
058: public ObjectFactory() {
059: super (
060: new org.jaffa.patterns.library.domain_creator_1_1.domain.ObjectFactory.GrammarInfoImpl());
061: }
062:
063: /**
064: * Create an instance of the specified Java content interface.
065: *
066: * @param javaContentInterface the Class object of the javacontent interface to instantiate
067: * @return a new instance
068: * @throws JAXBException if an error occurs
069: */
070: public java.lang.Object newInstance(
071: java.lang.Class javaContentInterface)
072: throws javax.xml.bind.JAXBException {
073: return super .newInstance(javaContentInterface);
074: }
075:
076: /**
077: * Get the specified property. This method can only be
078: * used to get provider specific properties.
079: * Attempting to get an undefined property will result
080: * in a PropertyException being thrown.
081: *
082: * @param name the name of the property to retrieve
083: * @return the value of the requested property
084: * @throws PropertyException when there is an error retrieving the given property or value
085: */
086: public java.lang.Object getProperty(java.lang.String name)
087: throws javax.xml.bind.PropertyException {
088: return super .getProperty(name);
089: }
090:
091: /**
092: * Set the specified property. This method can only be
093: * used to set provider specific properties.
094: * Attempting to set an undefined property will result
095: * in a PropertyException being thrown.
096: *
097: * @param name the name of the property to retrieve
098: * @param value the value of the property to be set
099: * @throws PropertyException when there is an error processing the given property or value
100: */
101: public void setProperty(java.lang.String name,
102: java.lang.Object value)
103: throws javax.xml.bind.PropertyException {
104: super .setProperty(name, value);
105: }
106:
107: /**
108: * Create an instance of Root
109: *
110: * @throws JAXBException if an error occurs
111: */
112: public org.jaffa.patterns.library.domain_creator_1_1.domain.Root createRoot()
113: throws javax.xml.bind.JAXBException {
114: return ((org.jaffa.patterns.library.domain_creator_1_1.domain.Root) newInstance((org.jaffa.patterns.library.domain_creator_1_1.domain.Root.class)));
115: }
116:
117: /**
118: * Create an instance of Relationship
119: *
120: * @throws JAXBException if an error occurs
121: */
122: public org.jaffa.patterns.library.domain_creator_1_1.domain.Relationship createRelationship()
123: throws javax.xml.bind.JAXBException {
124: return ((org.jaffa.patterns.library.domain_creator_1_1.domain.Relationship) newInstance((org.jaffa.patterns.library.domain_creator_1_1.domain.Relationship.class)));
125: }
126:
127: /**
128: * Create an instance of Fields
129: *
130: * @throws JAXBException if an error occurs
131: */
132: public org.jaffa.patterns.library.domain_creator_1_1.domain.Fields createFields()
133: throws javax.xml.bind.JAXBException {
134: return ((org.jaffa.patterns.library.domain_creator_1_1.domain.Fields) newInstance((org.jaffa.patterns.library.domain_creator_1_1.domain.Fields.class)));
135: }
136:
137: /**
138: * Create an instance of Field
139: *
140: * @throws JAXBException if an error occurs
141: */
142: public org.jaffa.patterns.library.domain_creator_1_1.domain.Field createField()
143: throws javax.xml.bind.JAXBException {
144: return ((org.jaffa.patterns.library.domain_creator_1_1.domain.Field) newInstance((org.jaffa.patterns.library.domain_creator_1_1.domain.Field.class)));
145: }
146:
147: /**
148: * Create an instance of RelationshipFields
149: *
150: * @throws JAXBException if an error occurs
151: */
152: public org.jaffa.patterns.library.domain_creator_1_1.domain.RelationshipFields createRelationshipFields()
153: throws javax.xml.bind.JAXBException {
154: return ((org.jaffa.patterns.library.domain_creator_1_1.domain.RelationshipFields) newInstance((org.jaffa.patterns.library.domain_creator_1_1.domain.RelationshipFields.class)));
155: }
156:
157: /**
158: * Create an instance of RootType
159: *
160: * @throws JAXBException if an error occurs
161: */
162: public org.jaffa.patterns.library.domain_creator_1_1.domain.RootType createRootType()
163: throws javax.xml.bind.JAXBException {
164: return ((org.jaffa.patterns.library.domain_creator_1_1.domain.RootType) newInstance((org.jaffa.patterns.library.domain_creator_1_1.domain.RootType.class)));
165: }
166:
167: /**
168: * Create an instance of Relationships
169: *
170: * @throws JAXBException if an error occurs
171: */
172: public org.jaffa.patterns.library.domain_creator_1_1.domain.Relationships createRelationships()
173: throws javax.xml.bind.JAXBException {
174: return ((org.jaffa.patterns.library.domain_creator_1_1.domain.Relationships) newInstance((org.jaffa.patterns.library.domain_creator_1_1.domain.Relationships.class)));
175: }
176:
177: /**
178: * Create an instance of RelationshipField
179: *
180: * @throws JAXBException if an error occurs
181: */
182: public org.jaffa.patterns.library.domain_creator_1_1.domain.RelationshipField createRelationshipField()
183: throws javax.xml.bind.JAXBException {
184: return ((org.jaffa.patterns.library.domain_creator_1_1.domain.RelationshipField) newInstance((org.jaffa.patterns.library.domain_creator_1_1.domain.RelationshipField.class)));
185: }
186:
187: private static class GrammarInfoImpl extends
188: com.sun.xml.bind.GrammarInfo {
189:
190: public java.lang.Class getDefaultImplementation(
191: java.lang.Class javaContentInterface) {
192: return ((java.lang.Class) defaultImplementations
193: .get(javaContentInterface));
194: }
195:
196: public java.lang.Class getRootElement(java.lang.String uri,
197: java.lang.String local) {
198: if (("" == uri) && ("Root" == local)) {
199: return (org.jaffa.patterns.library.domain_creator_1_1.domain.impl.RootImpl.class);
200: }
201: return null;
202: }
203:
204: public java.lang.String[] getProbePoints() {
205: return new java.lang.String[] { "", "Root" };
206: }
207:
208: }
209:
210: }
|