1
2
3
4
5
6
7
8
9 package net.sf.jour.config;
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.jour.config 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.jour.config.impl.runtime.DefaultJAXBContextImpl
28 {
29
30 private static java.util.HashMap defaultImplementations = new java.util.HashMap(16, 0.75F);
31 private static java.util.HashMap rootTagMap = new java.util.HashMap();
32 public final static net.sf.jour.config.impl.runtime.GrammarInfo grammarInfo = new net.sf.jour.config.impl.runtime.GrammarInfoImpl(rootTagMap, defaultImplementations, (net.sf.jour.config.ObjectFactory.class));
33 public final static java.lang.Class version = (net.sf.jour.config.impl.JAXBVersion.class);
34
35 static {
36 defaultImplementations.put((net.sf.jour.config.PointcutType.class), "net.sf.jour.config.impl.PointcutTypeImpl");
37 defaultImplementations.put((net.sf.jour.config.Jour.class), "net.sf.jour.config.impl.JourImpl");
38 defaultImplementations.put((net.sf.jour.config.Typedef.class), "net.sf.jour.config.impl.TypedefImpl");
39 defaultImplementations.put((net.sf.jour.config.Pointcut.class), "net.sf.jour.config.impl.PointcutImpl");
40 defaultImplementations.put((net.sf.jour.config.Aspect.class), "net.sf.jour.config.impl.AspectImpl");
41 defaultImplementations.put((net.sf.jour.config.JourType.class), "net.sf.jour.config.impl.JourTypeImpl");
42 defaultImplementations.put((net.sf.jour.config.AspectType.class), "net.sf.jour.config.impl.AspectTypeImpl");
43 rootTagMap.put(new javax.xml.namespace.QName("", "jour"), (net.sf.jour.config.Jour.class));
44 rootTagMap.put(new javax.xml.namespace.QName("", "aspect"), (net.sf.jour.config.Aspect.class));
45 rootTagMap.put(new javax.xml.namespace.QName("", "pointcut"), (net.sf.jour.config.Pointcut.class));
46 rootTagMap.put(new javax.xml.namespace.QName("", "typedef"), (net.sf.jour.config.Typedef.class));
47 }
48
49 /***
50 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.sf.jour.config
51 *
52 */
53 public ObjectFactory() {
54 super(grammarInfo);
55 }
56
57 /***
58 * Create an instance of the specified Java content interface.
59 *
60 * @param javaContentInterface
61 * the Class object of the javacontent interface to instantiate
62 * @return
63 * a new instance
64 * @throws JAXBException
65 * if an error occurs
66 */
67 public java.lang.Object newInstance(java.lang.Class javaContentInterface)
68 throws javax.xml.bind.JAXBException
69 {
70 return super.newInstance(javaContentInterface);
71 }
72
73 /***
74 * Get the specified property. This method can only be
75 * used to get provider specific properties.
76 * Attempting to get an undefined property will result
77 * in a PropertyException being thrown.
78 *
79 * @param name
80 * the name of the property to retrieve
81 * @return
82 * the value of the requested property
83 * @throws PropertyException
84 * when there is an error retrieving the given property or value
85 */
86 public java.lang.Object getProperty(java.lang.String name)
87 throws javax.xml.bind.PropertyException
88 {
89 return super.getProperty(name);
90 }
91
92 /***
93 * Set the specified property. This method can only be
94 * used to set provider specific properties.
95 * Attempting to set an undefined property will result
96 * in a PropertyException being thrown.
97 *
98 * @param value
99 * the value of the property to be set
100 * @param name
101 * the name of the property to retrieve
102 * @throws PropertyException
103 * when there is an error processing the given property or value
104 */
105 public void setProperty(java.lang.String name, java.lang.Object value)
106 throws javax.xml.bind.PropertyException
107 {
108 super.setProperty(name, value);
109 }
110
111 /***
112 * Create an instance of PointcutType
113 *
114 * @throws JAXBException
115 * if an error occurs
116 */
117 public net.sf.jour.config.PointcutType createPointcutType()
118 throws javax.xml.bind.JAXBException
119 {
120 return new net.sf.jour.config.impl.PointcutTypeImpl();
121 }
122
123 /***
124 * Create an instance of Jour
125 *
126 * @throws JAXBException
127 * if an error occurs
128 */
129 public net.sf.jour.config.Jour createJour()
130 throws javax.xml.bind.JAXBException
131 {
132 return new net.sf.jour.config.impl.JourImpl();
133 }
134
135 /***
136 * Create an instance of Typedef
137 *
138 * @throws JAXBException
139 * if an error occurs
140 */
141 public net.sf.jour.config.Typedef createTypedef()
142 throws javax.xml.bind.JAXBException
143 {
144 return new net.sf.jour.config.impl.TypedefImpl();
145 }
146
147 /***
148 * Create an instance of Typedef
149 *
150 * @throws JAXBException
151 * if an error occurs
152 */
153 public net.sf.jour.config.Typedef createTypedef(java.lang.String value)
154 throws javax.xml.bind.JAXBException
155 {
156 return new net.sf.jour.config.impl.TypedefImpl(value);
157 }
158
159 /***
160 * Create an instance of Pointcut
161 *
162 * @throws JAXBException
163 * if an error occurs
164 */
165 public net.sf.jour.config.Pointcut createPointcut()
166 throws javax.xml.bind.JAXBException
167 {
168 return new net.sf.jour.config.impl.PointcutImpl();
169 }
170
171 /***
172 * Create an instance of Aspect
173 *
174 * @throws JAXBException
175 * if an error occurs
176 */
177 public net.sf.jour.config.Aspect createAspect()
178 throws javax.xml.bind.JAXBException
179 {
180 return new net.sf.jour.config.impl.AspectImpl();
181 }
182
183 /***
184 * Create an instance of JourType
185 *
186 * @throws JAXBException
187 * if an error occurs
188 */
189 public net.sf.jour.config.JourType createJourType()
190 throws javax.xml.bind.JAXBException
191 {
192 return new net.sf.jour.config.impl.JourTypeImpl();
193 }
194
195 /***
196 * Create an instance of AspectType
197 *
198 * @throws JAXBException
199 * if an error occurs
200 */
201 public net.sf.jour.config.AspectType createAspectType()
202 throws javax.xml.bind.JAXBException
203 {
204 return new net.sf.jour.config.impl.AspectTypeImpl();
205 }
206
207 }