public class ObjectFactory
extends java.lang.Object
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.
Constructor and Description |
---|
ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.persistence.xml
|
Modifier and Type | Method and Description |
---|---|
Persistence |
createPersistence()
Create an instance of
Persistence |
PersistenceUnit |
createPersistencePersistenceUnit()
Create an instance of
PersistenceUnit |
Properties |
createPersistencePersistenceUnitProperties()
Create an instance of
Properties |
Property |
createPersistencePersistenceUnitPropertiesProperty()
Create an instance of
Property |
public ObjectFactory()
public Persistence createPersistence()
Persistence
public Properties createPersistencePersistenceUnitProperties()
Properties
public PersistenceUnit createPersistencePersistenceUnit()
PersistenceUnit