org.jaffa.components.navigation.domain
Class ObjectFactory

java.lang.Object
  extended byjavax.xml.bind.JAXBContext
      extended bycom.sun.xml.bind.DefaultJAXBContextImpl
          extended byorg.jaffa.components.navigation.domain.ObjectFactory

public class ObjectFactory
extends com.sun.xml.bind.DefaultJAXBContextImpl

This object contains factory methods for each Java content interface and Java element interface generated in the org.jaffa.components.navigation.domain package.

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.


Field Summary
 
Fields inherited from class javax.xml.bind.JAXBContext
JAXB_CONTEXT_FACTORY
 
Constructor Summary
ObjectFactory()
          Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.components.navigation.domain
 
Method Summary
 ComponentAction createComponentAction()
          Create an instance of ComponentAction
 ComponentAction.ParamType createComponentActionParamType()
          Create an instance of ComponentActionParamType
 DesktopMenu createDesktopMenu()
          Create an instance of DesktopMenu
 GlobalMenu createGlobalMenu()
          Create an instance of GlobalMenu
 GlobalMenuType createGlobalMenuType()
          Create an instance of GlobalMenuType
 MenuOption createMenuOption()
          Create an instance of MenuOption
 SubMenu createSubMenu()
          Create an instance of SubMenu
 UrlAction createUrlAction()
          Create an instance of UrlAction
 UrlAction.UrlType createUrlActionUrlType()
          Create an instance of UrlActionUrlType
 Object getProperty(String name)
          Get the specified property.
 Object newInstance(Class javaContentInterface)
          Create an instance of the specified Java content interface.
 void setProperty(String name, Object value)
          Set the specified property.
 
Methods inherited from class com.sun.xml.bind.DefaultJAXBContextImpl
createMarshaller, createUnmarshaller, createValidator, getGrammar
 
Methods inherited from class javax.xml.bind.JAXBContext
newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactory

public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jaffa.components.navigation.domain

Method Detail

newInstance

public Object newInstance(Class javaContentInterface)
                   throws javax.xml.bind.JAXBException
Create an instance of the specified Java content interface.

Parameters:
javaContentInterface - the Class object of the javacontent interface to instantiate
Returns:
a new instance
Throws:
JAXBException - if an error occurs

getProperty

public Object getProperty(String name)
                   throws javax.xml.bind.PropertyException
Get the specified property. This method can only be used to get provider specific properties. Attempting to get an undefined property will result in a PropertyException being thrown.

Parameters:
name - the name of the property to retrieve
Returns:
the value of the requested property
Throws:
PropertyException - when there is an error retrieving the given property or value

setProperty

public void setProperty(String name,
                        Object value)
                 throws javax.xml.bind.PropertyException
Set the specified property. This method can only be used to set provider specific properties. Attempting to set an undefined property will result in a PropertyException being thrown.

Parameters:
name - the name of the property to retrieve
value - the value of the property to be set
Throws:
PropertyException - when there is an error processing the given property or value

createUrlActionUrlType

public UrlAction.UrlType createUrlActionUrlType()
                                         throws javax.xml.bind.JAXBException
Create an instance of UrlActionUrlType

Throws:
JAXBException - if an error occurs

createUrlAction

public UrlAction createUrlAction()
                          throws javax.xml.bind.JAXBException
Create an instance of UrlAction

Throws:
JAXBException - if an error occurs

createGlobalMenuType

public GlobalMenuType createGlobalMenuType()
                                    throws javax.xml.bind.JAXBException
Create an instance of GlobalMenuType

Throws:
JAXBException - if an error occurs

createDesktopMenu

public DesktopMenu createDesktopMenu()
                              throws javax.xml.bind.JAXBException
Create an instance of DesktopMenu

Throws:
JAXBException - if an error occurs

createComponentActionParamType

public ComponentAction.ParamType createComponentActionParamType()
                                                         throws javax.xml.bind.JAXBException
Create an instance of ComponentActionParamType

Throws:
JAXBException - if an error occurs

createComponentAction

public ComponentAction createComponentAction()
                                      throws javax.xml.bind.JAXBException
Create an instance of ComponentAction

Throws:
JAXBException - if an error occurs

createMenuOption

public MenuOption createMenuOption()
                            throws javax.xml.bind.JAXBException
Create an instance of MenuOption

Throws:
JAXBException - if an error occurs

createSubMenu

public SubMenu createSubMenu()
                      throws javax.xml.bind.JAXBException
Create an instance of SubMenu

Throws:
JAXBException - if an error occurs

createGlobalMenu

public GlobalMenu createGlobalMenu()
                            throws javax.xml.bind.JAXBException
Create an instance of GlobalMenu

Throws:
JAXBException - if an error occurs


Copyright © 2002-2004 JAFFA Project.