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.12.18 at 12:29:17 PST
006: //
007:
008: package org.jaffa.components.navigation.domain;
009:
010: /**
011: * This object contains factory methods for each Java content interface and Java element interface generated in the org.jaffa.components.navigation.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.components.navigation.domain.UrlAction.UrlType.class),
023: (org.jaffa.components.navigation.domain.impl.UrlActionImpl.UrlTypeImpl.class));
024: defaultImplementations
025: .put(
026: (org.jaffa.components.navigation.domain.UrlAction.class),
027: (org.jaffa.components.navigation.domain.impl.UrlActionImpl.class));
028: defaultImplementations
029: .put(
030: (org.jaffa.components.navigation.domain.GlobalMenuType.class),
031: (org.jaffa.components.navigation.domain.impl.GlobalMenuTypeImpl.class));
032: defaultImplementations
033: .put(
034: (org.jaffa.components.navigation.domain.DesktopMenu.class),
035: (org.jaffa.components.navigation.domain.impl.DesktopMenuImpl.class));
036: defaultImplementations
037: .put(
038: (org.jaffa.components.navigation.domain.ComponentAction.ParamType.class),
039: (org.jaffa.components.navigation.domain.impl.ComponentActionImpl.ParamTypeImpl.class));
040: defaultImplementations
041: .put(
042: (org.jaffa.components.navigation.domain.ComponentAction.class),
043: (org.jaffa.components.navigation.domain.impl.ComponentActionImpl.class));
044: defaultImplementations
045: .put(
046: (org.jaffa.components.navigation.domain.MenuOption.class),
047: (org.jaffa.components.navigation.domain.impl.MenuOptionImpl.class));
048: defaultImplementations
049: .put(
050: (org.jaffa.components.navigation.domain.SubMenu.class),
051: (org.jaffa.components.navigation.domain.impl.SubMenuImpl.class));
052: defaultImplementations
053: .put(
054: (org.jaffa.components.navigation.domain.GlobalMenu.class),
055: (org.jaffa.components.navigation.domain.impl.GlobalMenuImpl.class));
056: }
057:
058: /**
059: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.components.navigation.domain
060: *
061: */
062: public ObjectFactory() {
063: super (
064: new org.jaffa.components.navigation.domain.ObjectFactory.GrammarInfoImpl());
065: }
066:
067: /**
068: * Create an instance of the specified Java content interface.
069: *
070: * @param javaContentInterface the Class object of the javacontent interface to instantiate
071: * @return a new instance
072: * @throws JAXBException if an error occurs
073: */
074: public java.lang.Object newInstance(
075: java.lang.Class javaContentInterface)
076: throws javax.xml.bind.JAXBException {
077: return super .newInstance(javaContentInterface);
078: }
079:
080: /**
081: * Get the specified property. This method can only be
082: * used to get provider specific properties.
083: * Attempting to get an undefined property will result
084: * in a PropertyException being thrown.
085: *
086: * @param name the name of the property to retrieve
087: * @return the value of the requested property
088: * @throws PropertyException when there is an error retrieving the given property or value
089: */
090: public java.lang.Object getProperty(java.lang.String name)
091: throws javax.xml.bind.PropertyException {
092: return super .getProperty(name);
093: }
094:
095: /**
096: * Set the specified property. This method can only be
097: * used to set provider specific properties.
098: * Attempting to set an undefined property will result
099: * in a PropertyException being thrown.
100: *
101: * @param name the name of the property to retrieve
102: * @param value the value of the property to be set
103: * @throws PropertyException when there is an error processing the given property or value
104: */
105: public void setProperty(java.lang.String name,
106: java.lang.Object value)
107: throws javax.xml.bind.PropertyException {
108: super .setProperty(name, value);
109: }
110:
111: /**
112: * Create an instance of UrlActionUrlType
113: *
114: * @throws JAXBException if an error occurs
115: */
116: public org.jaffa.components.navigation.domain.UrlAction.UrlType createUrlActionUrlType()
117: throws javax.xml.bind.JAXBException {
118: return ((org.jaffa.components.navigation.domain.UrlAction.UrlType) newInstance((org.jaffa.components.navigation.domain.UrlAction.UrlType.class)));
119: }
120:
121: /**
122: * Create an instance of UrlAction
123: *
124: * @throws JAXBException if an error occurs
125: */
126: public org.jaffa.components.navigation.domain.UrlAction createUrlAction()
127: throws javax.xml.bind.JAXBException {
128: return ((org.jaffa.components.navigation.domain.UrlAction) newInstance((org.jaffa.components.navigation.domain.UrlAction.class)));
129: }
130:
131: /**
132: * Create an instance of GlobalMenuType
133: *
134: * @throws JAXBException if an error occurs
135: */
136: public org.jaffa.components.navigation.domain.GlobalMenuType createGlobalMenuType()
137: throws javax.xml.bind.JAXBException {
138: return ((org.jaffa.components.navigation.domain.GlobalMenuType) newInstance((org.jaffa.components.navigation.domain.GlobalMenuType.class)));
139: }
140:
141: /**
142: * Create an instance of DesktopMenu
143: *
144: * @throws JAXBException if an error occurs
145: */
146: public org.jaffa.components.navigation.domain.DesktopMenu createDesktopMenu()
147: throws javax.xml.bind.JAXBException {
148: return ((org.jaffa.components.navigation.domain.DesktopMenu) newInstance((org.jaffa.components.navigation.domain.DesktopMenu.class)));
149: }
150:
151: /**
152: * Create an instance of ComponentActionParamType
153: *
154: * @throws JAXBException if an error occurs
155: */
156: public org.jaffa.components.navigation.domain.ComponentAction.ParamType createComponentActionParamType()
157: throws javax.xml.bind.JAXBException {
158: return ((org.jaffa.components.navigation.domain.ComponentAction.ParamType) newInstance((org.jaffa.components.navigation.domain.ComponentAction.ParamType.class)));
159: }
160:
161: /**
162: * Create an instance of ComponentAction
163: *
164: * @throws JAXBException if an error occurs
165: */
166: public org.jaffa.components.navigation.domain.ComponentAction createComponentAction()
167: throws javax.xml.bind.JAXBException {
168: return ((org.jaffa.components.navigation.domain.ComponentAction) newInstance((org.jaffa.components.navigation.domain.ComponentAction.class)));
169: }
170:
171: /**
172: * Create an instance of MenuOption
173: *
174: * @throws JAXBException if an error occurs
175: */
176: public org.jaffa.components.navigation.domain.MenuOption createMenuOption()
177: throws javax.xml.bind.JAXBException {
178: return ((org.jaffa.components.navigation.domain.MenuOption) newInstance((org.jaffa.components.navigation.domain.MenuOption.class)));
179: }
180:
181: /**
182: * Create an instance of SubMenu
183: *
184: * @throws JAXBException if an error occurs
185: */
186: public org.jaffa.components.navigation.domain.SubMenu createSubMenu()
187: throws javax.xml.bind.JAXBException {
188: return ((org.jaffa.components.navigation.domain.SubMenu) newInstance((org.jaffa.components.navigation.domain.SubMenu.class)));
189: }
190:
191: /**
192: * Create an instance of GlobalMenu
193: *
194: * @throws JAXBException if an error occurs
195: */
196: public org.jaffa.components.navigation.domain.GlobalMenu createGlobalMenu()
197: throws javax.xml.bind.JAXBException {
198: return ((org.jaffa.components.navigation.domain.GlobalMenu) newInstance((org.jaffa.components.navigation.domain.GlobalMenu.class)));
199: }
200:
201: private static class GrammarInfoImpl extends
202: com.sun.xml.bind.GrammarInfo {
203:
204: public java.lang.Class getDefaultImplementation(
205: java.lang.Class javaContentInterface) {
206: return ((java.lang.Class) defaultImplementations
207: .get(javaContentInterface));
208: }
209:
210: public java.lang.Class getRootElement(java.lang.String uri,
211: java.lang.String local) {
212: if (("" == uri) && ("global-menu" == local)) {
213: return (org.jaffa.components.navigation.domain.impl.GlobalMenuImpl.class);
214: }
215: return null;
216: }
217:
218: public java.lang.String[] getProbePoints() {
219: return new java.lang.String[] { "", "global-menu" };
220: }
221:
222: }
223:
224: }
|