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.10.22 at 04:07:37 PDT
006: //
007:
008: package org.jaffa.tools.patternmetaengine.domain;
009:
010: /**
011: * This object contains factory methods for each Java content interface and Java element interface generated in the org.jaffa.tools.patternmetaengine.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.tools.patternmetaengine.domain.Module.class),
023: (org.jaffa.tools.patternmetaengine.domain.impl.ModuleImpl.class));
024: defaultImplementations
025: .put(
026: (org.jaffa.tools.patternmetaengine.domain.ApplicationBuilder.class),
027: (org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderImpl.class));
028: defaultImplementations
029: .put(
030: (org.jaffa.tools.patternmetaengine.domain.ApplicationBuilderType.class),
031: (org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderTypeImpl.class));
032: }
033:
034: /**
035: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.tools.patternmetaengine.domain
036: *
037: */
038: public ObjectFactory() {
039: super (
040: new org.jaffa.tools.patternmetaengine.domain.ObjectFactory.GrammarInfoImpl());
041: }
042:
043: /**
044: * Create an instance of the specified Java content interface.
045: *
046: * @param javaContentInterface the Class object of the javacontent interface to instantiate
047: * @return a new instance
048: * @throws JAXBException if an error occurs
049: */
050: public java.lang.Object newInstance(
051: java.lang.Class javaContentInterface)
052: throws javax.xml.bind.JAXBException {
053: return super .newInstance(javaContentInterface);
054: }
055:
056: /**
057: * Get the specified property. This method can only be
058: * used to get provider specific properties.
059: * Attempting to get an undefined property will result
060: * in a PropertyException being thrown.
061: *
062: * @param name the name of the property to retrieve
063: * @return the value of the requested property
064: * @throws PropertyException when there is an error retrieving the given property or value
065: */
066: public java.lang.Object getProperty(java.lang.String name)
067: throws javax.xml.bind.PropertyException {
068: return super .getProperty(name);
069: }
070:
071: /**
072: * Set the specified property. This method can only be
073: * used to set provider specific properties.
074: * Attempting to set an undefined property will result
075: * in a PropertyException being thrown.
076: *
077: * @param name the name of the property to retrieve
078: * @param value the value of the property to be set
079: * @throws PropertyException when there is an error processing the given property or value
080: */
081: public void setProperty(java.lang.String name,
082: java.lang.Object value)
083: throws javax.xml.bind.PropertyException {
084: super .setProperty(name, value);
085: }
086:
087: /**
088: * Create an instance of Module
089: *
090: * @throws JAXBException if an error occurs
091: */
092: public org.jaffa.tools.patternmetaengine.domain.Module createModule()
093: throws javax.xml.bind.JAXBException {
094: return ((org.jaffa.tools.patternmetaengine.domain.Module) newInstance((org.jaffa.tools.patternmetaengine.domain.Module.class)));
095: }
096:
097: /**
098: * Create an instance of ApplicationBuilder
099: *
100: * @throws JAXBException if an error occurs
101: */
102: public org.jaffa.tools.patternmetaengine.domain.ApplicationBuilder createApplicationBuilder()
103: throws javax.xml.bind.JAXBException {
104: return ((org.jaffa.tools.patternmetaengine.domain.ApplicationBuilder) newInstance((org.jaffa.tools.patternmetaengine.domain.ApplicationBuilder.class)));
105: }
106:
107: /**
108: * Create an instance of ApplicationBuilderType
109: *
110: * @throws JAXBException if an error occurs
111: */
112: public org.jaffa.tools.patternmetaengine.domain.ApplicationBuilderType createApplicationBuilderType()
113: throws javax.xml.bind.JAXBException {
114: return ((org.jaffa.tools.patternmetaengine.domain.ApplicationBuilderType) newInstance((org.jaffa.tools.patternmetaengine.domain.ApplicationBuilderType.class)));
115: }
116:
117: private static class GrammarInfoImpl extends
118: com.sun.xml.bind.GrammarInfo {
119:
120: public java.lang.Class getDefaultImplementation(
121: java.lang.Class javaContentInterface) {
122: return ((java.lang.Class) defaultImplementations
123: .get(javaContentInterface));
124: }
125:
126: public java.lang.Class getRootElement(java.lang.String uri,
127: java.lang.String local) {
128: if (("" == uri) && ("application-builder" == local)) {
129: return (org.jaffa.tools.patternmetaengine.domain.impl.ApplicationBuilderImpl.class);
130: }
131: return null;
132: }
133:
134: public java.lang.String[] getProbePoints() {
135: return new java.lang.String[] { "", "application-builder" };
136: }
137:
138: }
139:
140: }
|