net.sf.jour.config
Class ObjectFactory

java.lang.Object
  extended byjavax.xml.bind.JAXBContext
      extended bynet.sf.jour.config.impl.runtime.DefaultJAXBContextImpl
          extended bynet.sf.jour.config.ObjectFactory

public class ObjectFactory
extends DefaultJAXBContextImpl

This object contains factory methods for each Java content interface and Java element interface generated in the net.sf.jour.config 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
static GrammarInfo grammarInfo
           
static java.lang.Class version
           
 
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.sf.jour.config
 
Method Summary
 Aspect createAspect()
          Create an instance of Aspect
 AspectType createAspectType()
          Create an instance of AspectType
 Jour createJour()
          Create an instance of Jour
 JourType createJourType()
          Create an instance of JourType
 Pointcut createPointcut()
          Create an instance of Pointcut
 PointcutType createPointcutType()
          Create an instance of PointcutType
 Typedef createTypedef()
          Create an instance of Typedef
 Typedef createTypedef(java.lang.String value)
          Create an instance of Typedef
 java.lang.Object getProperty(java.lang.String name)
          Get the specified property.
 java.lang.Object newInstance(java.lang.Class javaContentInterface)
          Create an instance of the specified Java content interface.
 void setProperty(java.lang.String name, java.lang.Object value)
          Set the specified property.
 
Methods inherited from class net.sf.jour.config.impl.runtime.DefaultJAXBContextImpl
createMarshaller, createUnmarshaller, createValidator, getGrammar, getGrammarInfo
 
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

grammarInfo

public static final GrammarInfo grammarInfo

version

public static final java.lang.Class version
Constructor Detail

ObjectFactory

public ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.sf.jour.config

Method Detail

newInstance

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

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

getProperty

public java.lang.Object getProperty(java.lang.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.

Overrides:
getProperty in class DefaultJAXBContextImpl
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(java.lang.String name,
                        java.lang.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.

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

createPointcutType

public PointcutType createPointcutType()
                                throws javax.xml.bind.JAXBException
Create an instance of PointcutType

Throws:
JAXBException - if an error occurs

createJour

public Jour createJour()
                throws javax.xml.bind.JAXBException
Create an instance of Jour

Throws:
JAXBException - if an error occurs

createTypedef

public Typedef createTypedef()
                      throws javax.xml.bind.JAXBException
Create an instance of Typedef

Throws:
JAXBException - if an error occurs

createTypedef

public Typedef createTypedef(java.lang.String value)
                      throws javax.xml.bind.JAXBException
Create an instance of Typedef

Throws:
JAXBException - if an error occurs

createPointcut

public Pointcut createPointcut()
                        throws javax.xml.bind.JAXBException
Create an instance of Pointcut

Throws:
JAXBException - if an error occurs

createAspect

public Aspect createAspect()
                    throws javax.xml.bind.JAXBException
Create an instance of Aspect

Throws:
JAXBException - if an error occurs

createJourType

public JourType createJourType()
                        throws javax.xml.bind.JAXBException
Create an instance of JourType

Throws:
JAXBException - if an error occurs

createAspectType

public AspectType createAspectType()
                            throws javax.xml.bind.JAXBException
Create an instance of AspectType

Throws:
JAXBException - if an error occurs


Copyright © 2004 sourceforge. All Rights Reserved.