001: /*
002: * (C) Copyright 2000 - 2005 Nabh Information Systems, Inc.
003: *
004: * This program is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU General Public License
006: * as published by the Free Software Foundation; either version 2
007: * of the License, or (at your option) any later version.
008: *
009: * This program is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012: * GNU General Public License for more details.
013: *
014: * You should have received a copy of the GNU General Public License
015: * along with this program; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
017: *
018: */
019:
020: //
021: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
022: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
023: // Any modifications to this file will be lost upon recompilation of the source schema.
024: // Generated on: 2005.03.04 at 10:20:40 PST
025: //
026:
027: package com.nabhinc.portal.config;
028:
029: /**
030: * This object contains factory methods for each
031: * Java content interface and Java element interface
032: * generated in the com.nabhinc.portal.config package.
033: * <p>An ObjectFactory allows you to programatically
034: * construct new instances of the Java representation
035: * for XML content. The Java representation of XML
036: * content can consist of schema derived interfaces
037: * and classes representing the binding of schema
038: * type definitions, element declarations and model
039: * groups. Factory methods for each of these are
040: * provided in this class.
041: *
042: */
043: @SuppressWarnings("unchecked")
044: public class ObjectFactory extends
045: com.nabhinc.portal.config.impl.runtime.DefaultJAXBContextImpl {
046:
047: private static java.util.HashMap defaultImplementations = new java.util.HashMap(
048: 41, 0.75F);
049: private static java.util.HashMap rootTagMap = new java.util.HashMap();
050: public final static com.nabhinc.portal.config.impl.runtime.GrammarInfo grammarInfo = new com.nabhinc.portal.config.impl.runtime.GrammarInfoImpl(
051: rootTagMap, defaultImplementations,
052: (com.nabhinc.portal.config.ObjectFactory.class));
053: public final static java.lang.Class version = (com.nabhinc.portal.config.impl.JAXBVersion.class);
054:
055: static {
056: defaultImplementations
057: .put(
058: (com.nabhinc.portal.config.SecurityRoleRefType.class),
059: "com.nabhinc.portal.config.impl.SecurityRoleRefTypeImpl");
060: defaultImplementations.put(
061: (com.nabhinc.portal.config.NameType.class),
062: "com.nabhinc.portal.config.impl.NameTypeImpl");
063: defaultImplementations.put(
064: (com.nabhinc.portal.config.PortletApp.class),
065: "com.nabhinc.portal.config.impl.PortletAppImpl");
066: defaultImplementations.put(
067: (com.nabhinc.portal.config.ShortTitleType.class),
068: "com.nabhinc.portal.config.impl.ShortTitleTypeImpl");
069: defaultImplementations.put(
070: (com.nabhinc.portal.config.PortletAppType.class),
071: "com.nabhinc.portal.config.impl.PortletAppTypeImpl");
072: defaultImplementations.put(
073: (com.nabhinc.portal.config.DescriptionType.class),
074: "com.nabhinc.portal.config.impl.DescriptionTypeImpl");
075: defaultImplementations.put(
076: (com.nabhinc.portal.config.PortletType.class),
077: "com.nabhinc.portal.config.impl.PortletTypeImpl");
078: defaultImplementations
079: .put(
080: (com.nabhinc.portal.config.ExpirationCacheType.class),
081: "com.nabhinc.portal.config.impl.ExpirationCacheTypeImpl");
082: defaultImplementations.put(
083: (com.nabhinc.portal.config.SupportsType.class),
084: "com.nabhinc.portal.config.impl.SupportsTypeImpl");
085: defaultImplementations.put(
086: (com.nabhinc.portal.config.RoleLinkType.class),
087: "com.nabhinc.portal.config.impl.RoleLinkTypeImpl");
088: defaultImplementations.put(
089: (com.nabhinc.portal.config.InitParamType.class),
090: "com.nabhinc.portal.config.impl.InitParamTypeImpl");
091: defaultImplementations.put(
092: (com.nabhinc.portal.config.PortletInfoType.class),
093: "com.nabhinc.portal.config.impl.PortletInfoTypeImpl");
094: defaultImplementations
095: .put(
096: (com.nabhinc.portal.config.SecurityConstraintType.class),
097: "com.nabhinc.portal.config.impl.SecurityConstraintTypeImpl");
098: defaultImplementations.put(
099: (com.nabhinc.portal.config.MimeTypeType.class),
100: "com.nabhinc.portal.config.impl.MimeTypeTypeImpl");
101: defaultImplementations.put(
102: (com.nabhinc.portal.config.PreferenceType.class),
103: "com.nabhinc.portal.config.impl.PreferenceTypeImpl");
104: defaultImplementations.put(
105: (com.nabhinc.portal.config.KeywordsType.class),
106: "com.nabhinc.portal.config.impl.KeywordsTypeImpl");
107: defaultImplementations.put(
108: (com.nabhinc.portal.config.ValueType.class),
109: "com.nabhinc.portal.config.impl.ValueTypeImpl");
110: defaultImplementations
111: .put(
112: (com.nabhinc.portal.config.UserDataConstraintType.class),
113: "com.nabhinc.portal.config.impl.UserDataConstraintTypeImpl");
114: defaultImplementations
115: .put(
116: (com.nabhinc.portal.config.CustomWindowStateType.class),
117: "com.nabhinc.portal.config.impl.CustomWindowStateTypeImpl");
118: defaultImplementations
119: .put(
120: (com.nabhinc.portal.config.CustomPortletModeType.class),
121: "com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl");
122: defaultImplementations
123: .put(
124: (com.nabhinc.portal.config.PortletPreferencesType.class),
125: "com.nabhinc.portal.config.impl.PortletPreferencesTypeImpl");
126: defaultImplementations.put(
127: (com.nabhinc.portal.config.DisplayNameType.class),
128: "com.nabhinc.portal.config.impl.DisplayNameTypeImpl");
129: defaultImplementations.put(
130: (com.nabhinc.portal.config.TitleType.class),
131: "com.nabhinc.portal.config.impl.TitleTypeImpl");
132: defaultImplementations.put(
133: (com.nabhinc.portal.config.UserAttributeType.class),
134: "com.nabhinc.portal.config.impl.UserAttributeTypeImpl");
135: defaultImplementations.put(
136: (com.nabhinc.portal.config.PortletModeType.class),
137: "com.nabhinc.portal.config.impl.PortletModeTypeImpl");
138: defaultImplementations.put(
139: (com.nabhinc.portal.config.PortletNameType.class),
140: "com.nabhinc.portal.config.impl.PortletNameTypeImpl");
141: defaultImplementations
142: .put(
143: (com.nabhinc.portal.config.ResourceBundleType.class),
144: "com.nabhinc.portal.config.impl.ResourceBundleTypeImpl");
145: defaultImplementations
146: .put(
147: (com.nabhinc.portal.config.PortletCollectionType.class),
148: "com.nabhinc.portal.config.impl.PortletCollectionTypeImpl");
149: defaultImplementations
150: .put(
151: (com.nabhinc.portal.config.SupportedLocaleType.class),
152: "com.nabhinc.portal.config.impl.SupportedLocaleTypeImpl");
153: defaultImplementations.put(
154: (com.nabhinc.portal.config.WindowStateType.class),
155: "com.nabhinc.portal.config.impl.WindowStateTypeImpl");
156: rootTagMap
157: .put(
158: new javax.xml.namespace.QName(
159: "http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd",
160: "portlet-app"),
161: (com.nabhinc.portal.config.PortletApp.class));
162: }
163:
164: /**
165: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.nabhinc.portal.config
166: *
167: */
168: public ObjectFactory() {
169: super (grammarInfo);
170: }
171:
172: /**
173: * Create an instance of the specified Java content interface.
174: *
175: * @param javaContentInterface
176: * the Class object of the javacontent interface to instantiate
177: * @return
178: * a new instance
179: * @throws JAXBException
180: * if an error occurs
181: */
182: public java.lang.Object newInstance(
183: java.lang.Class javaContentInterface)
184: throws javax.xml.bind.JAXBException {
185: return super .newInstance(javaContentInterface);
186: }
187:
188: /**
189: * Get the specified property. This method can only be
190: * used to get provider specific properties.
191: * Attempting to get an undefined property will result
192: * in a PropertyException being thrown.
193: *
194: * @param name
195: * the name of the property to retrieve
196: * @return
197: * the value of the requested property
198: * @throws PropertyException
199: * when there is an error retrieving the given property or value
200: */
201: public java.lang.Object getProperty(java.lang.String name)
202: throws javax.xml.bind.PropertyException {
203: return super .getProperty(name);
204: }
205:
206: /**
207: * Set the specified property. This method can only be
208: * used to set provider specific properties.
209: * Attempting to set an undefined property will result
210: * in a PropertyException being thrown.
211: *
212: * @param value
213: * the value of the property to be set
214: * @param name
215: * the name of the property to retrieve
216: * @throws PropertyException
217: * when there is an error processing the given property or value
218: */
219: public void setProperty(java.lang.String name,
220: java.lang.Object value)
221: throws javax.xml.bind.PropertyException {
222: super .setProperty(name, value);
223: }
224:
225: /**
226: * Create an instance of SecurityRoleRefType
227: *
228: * @throws JAXBException
229: * if an error occurs
230: */
231: public com.nabhinc.portal.config.SecurityRoleRefType createSecurityRoleRefType()
232: throws javax.xml.bind.JAXBException {
233: return new com.nabhinc.portal.config.impl.SecurityRoleRefTypeImpl();
234: }
235:
236: /**
237: * Create an instance of NameType
238: *
239: * @throws JAXBException
240: * if an error occurs
241: */
242: public com.nabhinc.portal.config.NameType createNameType()
243: throws javax.xml.bind.JAXBException {
244: return new com.nabhinc.portal.config.impl.NameTypeImpl();
245: }
246:
247: /**
248: * Create an instance of PortletApp
249: *
250: * @throws JAXBException
251: * if an error occurs
252: */
253: public com.nabhinc.portal.config.PortletApp createPortletApp()
254: throws javax.xml.bind.JAXBException {
255: return new com.nabhinc.portal.config.impl.PortletAppImpl();
256: }
257:
258: /**
259: * Create an instance of ShortTitleType
260: *
261: * @throws JAXBException
262: * if an error occurs
263: */
264: public com.nabhinc.portal.config.ShortTitleType createShortTitleType()
265: throws javax.xml.bind.JAXBException {
266: return new com.nabhinc.portal.config.impl.ShortTitleTypeImpl();
267: }
268:
269: /**
270: * Create an instance of PortletAppType
271: *
272: * @throws JAXBException
273: * if an error occurs
274: */
275: public com.nabhinc.portal.config.PortletAppType createPortletAppType()
276: throws javax.xml.bind.JAXBException {
277: return new com.nabhinc.portal.config.impl.PortletAppTypeImpl();
278: }
279:
280: /**
281: * Create an instance of DescriptionType
282: *
283: * @throws JAXBException
284: * if an error occurs
285: */
286: public com.nabhinc.portal.config.DescriptionType createDescriptionType()
287: throws javax.xml.bind.JAXBException {
288: return new com.nabhinc.portal.config.impl.DescriptionTypeImpl();
289: }
290:
291: /**
292: * Create an instance of PortletType
293: *
294: * @throws JAXBException
295: * if an error occurs
296: */
297: public com.nabhinc.portal.config.PortletType createPortletType()
298: throws javax.xml.bind.JAXBException {
299: return new com.nabhinc.portal.config.impl.PortletTypeImpl();
300: }
301:
302: /**
303: * Create an instance of ExpirationCacheType
304: *
305: * @throws JAXBException
306: * if an error occurs
307: */
308: public com.nabhinc.portal.config.ExpirationCacheType createExpirationCacheType()
309: throws javax.xml.bind.JAXBException {
310: return new com.nabhinc.portal.config.impl.ExpirationCacheTypeImpl();
311: }
312:
313: /**
314: * Create an instance of SupportsType
315: *
316: * @throws JAXBException
317: * if an error occurs
318: */
319: public com.nabhinc.portal.config.SupportsType createSupportsType()
320: throws javax.xml.bind.JAXBException {
321: return new com.nabhinc.portal.config.impl.SupportsTypeImpl();
322: }
323:
324: /**
325: * Create an instance of RoleLinkType
326: *
327: * @throws JAXBException
328: * if an error occurs
329: */
330: public com.nabhinc.portal.config.RoleLinkType createRoleLinkType()
331: throws javax.xml.bind.JAXBException {
332: return new com.nabhinc.portal.config.impl.RoleLinkTypeImpl();
333: }
334:
335: /**
336: * Create an instance of InitParamType
337: *
338: * @throws JAXBException
339: * if an error occurs
340: */
341: public com.nabhinc.portal.config.InitParamType createInitParamType()
342: throws javax.xml.bind.JAXBException {
343: return new com.nabhinc.portal.config.impl.InitParamTypeImpl();
344: }
345:
346: /**
347: * Create an instance of PortletInfoType
348: *
349: * @throws JAXBException
350: * if an error occurs
351: */
352: public com.nabhinc.portal.config.PortletInfoType createPortletInfoType()
353: throws javax.xml.bind.JAXBException {
354: return new com.nabhinc.portal.config.impl.PortletInfoTypeImpl();
355: }
356:
357: /**
358: * Create an instance of SecurityConstraintType
359: *
360: * @throws JAXBException
361: * if an error occurs
362: */
363: public com.nabhinc.portal.config.SecurityConstraintType createSecurityConstraintType()
364: throws javax.xml.bind.JAXBException {
365: return new com.nabhinc.portal.config.impl.SecurityConstraintTypeImpl();
366: }
367:
368: /**
369: * Create an instance of MimeTypeType
370: *
371: * @throws JAXBException
372: * if an error occurs
373: */
374: public com.nabhinc.portal.config.MimeTypeType createMimeTypeType()
375: throws javax.xml.bind.JAXBException {
376: return new com.nabhinc.portal.config.impl.MimeTypeTypeImpl();
377: }
378:
379: /**
380: * Create an instance of PreferenceType
381: *
382: * @throws JAXBException
383: * if an error occurs
384: */
385: public com.nabhinc.portal.config.PreferenceType createPreferenceType()
386: throws javax.xml.bind.JAXBException {
387: return new com.nabhinc.portal.config.impl.PreferenceTypeImpl();
388: }
389:
390: /**
391: * Create an instance of KeywordsType
392: *
393: * @throws JAXBException
394: * if an error occurs
395: */
396: public com.nabhinc.portal.config.KeywordsType createKeywordsType()
397: throws javax.xml.bind.JAXBException {
398: return new com.nabhinc.portal.config.impl.KeywordsTypeImpl();
399: }
400:
401: /**
402: * Create an instance of ValueType
403: *
404: * @throws JAXBException
405: * if an error occurs
406: */
407: public com.nabhinc.portal.config.ValueType createValueType()
408: throws javax.xml.bind.JAXBException {
409: return new com.nabhinc.portal.config.impl.ValueTypeImpl();
410: }
411:
412: /**
413: * Create an instance of UserDataConstraintType
414: *
415: * @throws JAXBException
416: * if an error occurs
417: */
418: public com.nabhinc.portal.config.UserDataConstraintType createUserDataConstraintType()
419: throws javax.xml.bind.JAXBException {
420: return new com.nabhinc.portal.config.impl.UserDataConstraintTypeImpl();
421: }
422:
423: /**
424: * Create an instance of CustomWindowStateType
425: *
426: * @throws JAXBException
427: * if an error occurs
428: */
429: public com.nabhinc.portal.config.CustomWindowStateType createCustomWindowStateType()
430: throws javax.xml.bind.JAXBException {
431: return new com.nabhinc.portal.config.impl.CustomWindowStateTypeImpl();
432: }
433:
434: /**
435: * Create an instance of CustomPortletModeType
436: *
437: * @throws JAXBException
438: * if an error occurs
439: */
440: public com.nabhinc.portal.config.CustomPortletModeType createCustomPortletModeType()
441: throws javax.xml.bind.JAXBException {
442: return new com.nabhinc.portal.config.impl.CustomPortletModeTypeImpl();
443: }
444:
445: /**
446: * Create an instance of PortletPreferencesType
447: *
448: * @throws JAXBException
449: * if an error occurs
450: */
451: public com.nabhinc.portal.config.PortletPreferencesType createPortletPreferencesType()
452: throws javax.xml.bind.JAXBException {
453: return new com.nabhinc.portal.config.impl.PortletPreferencesTypeImpl();
454: }
455:
456: /**
457: * Create an instance of DisplayNameType
458: *
459: * @throws JAXBException
460: * if an error occurs
461: */
462: public com.nabhinc.portal.config.DisplayNameType createDisplayNameType()
463: throws javax.xml.bind.JAXBException {
464: return new com.nabhinc.portal.config.impl.DisplayNameTypeImpl();
465: }
466:
467: /**
468: * Create an instance of TitleType
469: *
470: * @throws JAXBException
471: * if an error occurs
472: */
473: public com.nabhinc.portal.config.TitleType createTitleType()
474: throws javax.xml.bind.JAXBException {
475: return new com.nabhinc.portal.config.impl.TitleTypeImpl();
476: }
477:
478: /**
479: * Create an instance of UserAttributeType
480: *
481: * @throws JAXBException
482: * if an error occurs
483: */
484: public com.nabhinc.portal.config.UserAttributeType createUserAttributeType()
485: throws javax.xml.bind.JAXBException {
486: return new com.nabhinc.portal.config.impl.UserAttributeTypeImpl();
487: }
488:
489: /**
490: * Create an instance of PortletModeType
491: *
492: * @throws JAXBException
493: * if an error occurs
494: */
495: public com.nabhinc.portal.config.PortletModeType createPortletModeType()
496: throws javax.xml.bind.JAXBException {
497: return new com.nabhinc.portal.config.impl.PortletModeTypeImpl();
498: }
499:
500: /**
501: * Create an instance of PortletNameType
502: *
503: * @throws JAXBException
504: * if an error occurs
505: */
506: public com.nabhinc.portal.config.PortletNameType createPortletNameType()
507: throws javax.xml.bind.JAXBException {
508: return new com.nabhinc.portal.config.impl.PortletNameTypeImpl();
509: }
510:
511: /**
512: * Create an instance of ResourceBundleType
513: *
514: * @throws JAXBException
515: * if an error occurs
516: */
517: public com.nabhinc.portal.config.ResourceBundleType createResourceBundleType()
518: throws javax.xml.bind.JAXBException {
519: return new com.nabhinc.portal.config.impl.ResourceBundleTypeImpl();
520: }
521:
522: /**
523: * Create an instance of PortletCollectionType
524: *
525: * @throws JAXBException
526: * if an error occurs
527: */
528: public com.nabhinc.portal.config.PortletCollectionType createPortletCollectionType()
529: throws javax.xml.bind.JAXBException {
530: return new com.nabhinc.portal.config.impl.PortletCollectionTypeImpl();
531: }
532:
533: /**
534: * Create an instance of SupportedLocaleType
535: *
536: * @throws JAXBException
537: * if an error occurs
538: */
539: public com.nabhinc.portal.config.SupportedLocaleType createSupportedLocaleType()
540: throws javax.xml.bind.JAXBException {
541: return new com.nabhinc.portal.config.impl.SupportedLocaleTypeImpl();
542: }
543:
544: /**
545: * Create an instance of WindowStateType
546: *
547: * @throws JAXBException
548: * if an error occurs
549: */
550: public com.nabhinc.portal.config.WindowStateType createWindowStateType()
551: throws javax.xml.bind.JAXBException {
552: return new com.nabhinc.portal.config.impl.WindowStateTypeImpl();
553: }
554:
555: }
|