net.sourceforge.doyen.jaxb
Class ObjectFactory

java.lang.Object
  extended byjavax.xml.bind.JAXBContext
      extended bycom.sun.xml.bind.DefaultJAXBContextImpl
          extended bynet.sourceforge.doyen.jaxb.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 net.sourceforge.doyen.jaxb 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.


Nested Class Summary
private static class ObjectFactory.GrammarInfoImpl
           
 
Field Summary
private static HashMap defaultImplementations
           
 
Fields inherited from class com.sun.xml.bind.DefaultJAXBContextImpl
 
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: net.sourceforge.doyen.jaxb
 
Method Summary
 Profile createProfile()
          Create an instance of Profile
 ProfileType createProfileType()
          Create an instance of ProfileType
 Project createProject()
          Create an instance of Project
 ProjectType createProjectType()
          Create an instance of ProjectType
 Task createTask()
          Create an instance of Task
 TaskType createTaskType()
          Create an instance of TaskType
 TaskType.ScheduleType createTaskTypeScheduleType()
          Create an instance of TaskTypeScheduleType
 TaskType.ScheduleType.RecurrenceType createTaskTypeScheduleTypeRecurrenceType()
          Create an instance of TaskTypeScheduleTypeRecurrenceType
 TimeLog createTimeLog()
          Create an instance of TimeLog
 TimeLogType createTimeLogType()
          Create an instance of TimeLogType
 TimeLogType.TimeLogEntry createTimeLogTypeTimeLogEntry()
          Create an instance of TimeLogTypeTimeLogEntry
 TimeLogType.TimeLogEntryType createTimeLogTypeTimeLogEntryType()
          Create an instance of TimeLogTypeTimeLogEntryType
 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
 

Field Detail

defaultImplementations

private static HashMap defaultImplementations
Constructor Detail

ObjectFactory

public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.sourceforge.doyen.jaxb

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

createTaskTypeScheduleType

public TaskType.ScheduleType createTaskTypeScheduleType()
                                                 throws javax.xml.bind.JAXBException
Create an instance of TaskTypeScheduleType

Throws:
JAXBException - if an error occurs

createTaskType

public TaskType createTaskType()
                        throws javax.xml.bind.JAXBException
Create an instance of TaskType

Throws:
JAXBException - if an error occurs

createProfile

public Profile createProfile()
                      throws javax.xml.bind.JAXBException
Create an instance of Profile

Throws:
JAXBException - if an error occurs

createTimeLogType

public TimeLogType createTimeLogType()
                              throws javax.xml.bind.JAXBException
Create an instance of TimeLogType

Throws:
JAXBException - if an error occurs

createTimeLog

public TimeLog createTimeLog()
                      throws javax.xml.bind.JAXBException
Create an instance of TimeLog

Throws:
JAXBException - if an error occurs

createProjectType

public ProjectType createProjectType()
                              throws javax.xml.bind.JAXBException
Create an instance of ProjectType

Throws:
JAXBException - if an error occurs

createProject

public Project createProject()
                      throws javax.xml.bind.JAXBException
Create an instance of Project

Throws:
JAXBException - if an error occurs

createProfileType

public ProfileType createProfileType()
                              throws javax.xml.bind.JAXBException
Create an instance of ProfileType

Throws:
JAXBException - if an error occurs

createTaskTypeScheduleTypeRecurrenceType

public TaskType.ScheduleType.RecurrenceType createTaskTypeScheduleTypeRecurrenceType()
                                                                              throws javax.xml.bind.JAXBException
Create an instance of TaskTypeScheduleTypeRecurrenceType

Throws:
JAXBException - if an error occurs

createTask

public Task createTask()
                throws javax.xml.bind.JAXBException
Create an instance of Task

Throws:
JAXBException - if an error occurs

createTimeLogTypeTimeLogEntryType

public TimeLogType.TimeLogEntryType createTimeLogTypeTimeLogEntryType()
                                                               throws javax.xml.bind.JAXBException
Create an instance of TimeLogTypeTimeLogEntryType

Throws:
JAXBException - if an error occurs

createTimeLogTypeTimeLogEntry

public TimeLogType.TimeLogEntry createTimeLogTypeTimeLogEntry()
                                                       throws javax.xml.bind.JAXBException
Create an instance of TimeLogTypeTimeLogEntry

Throws:
JAXBException - if an error occurs