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.ehcache.xml.model
|
public ObjectFactory()
public ExpiryType createExpiryType()
ExpiryTypepublic CacheLoaderWriterType createCacheLoaderWriterType()
CacheLoaderWriterTypepublic CacheLoaderWriterType.WriteBehind createCacheLoaderWriterTypeWriteBehind()
CacheLoaderWriterType.WriteBehindpublic ListenersType createListenersType()
ListenersTypepublic SizeofType createSizeofType()
SizeofTypepublic ThreadPoolsType createThreadPoolsType()
ThreadPoolsTypepublic CopierType createCopierType()
CopierTypepublic SerializerType createSerializerType()
SerializerTypepublic ConfigType createConfigType()
ConfigTypepublic ResourceTypeWithPropSubst createResourceTypeWithPropSubst()
ResourceTypeWithPropSubstpublic MemoryTypeWithPropSubst createMemoryTypeWithPropSubst()
MemoryTypeWithPropSubstpublic PersistableMemoryTypeWithPropSubst createPersistableMemoryTypeWithPropSubst()
PersistableMemoryTypeWithPropSubstpublic ServiceType createServiceType()
ServiceTypepublic PersistenceType createPersistenceType()
PersistenceTypepublic ThreadPoolReferenceType createThreadPoolReferenceType()
ThreadPoolReferenceTypepublic CacheTemplateType createCacheTemplateType()
CacheTemplateTypepublic CacheEntryType createCacheEntryType()
CacheEntryTypepublic TimeTypeWithPropSubst createTimeTypeWithPropSubst()
TimeTypeWithPropSubstpublic MemoryType createMemoryType()
MemoryTypepublic ResourcesType createResourcesType()
ResourcesTypepublic DiskStoreSettingsType createDiskStoreSettingsType()
DiskStoreSettingsTypepublic ExpiryType.None createExpiryTypeNone()
ExpiryType.Nonepublic CacheLoaderWriterType.WriteBehind.Batching createCacheLoaderWriterTypeWriteBehindBatching()
CacheLoaderWriterType.WriteBehind.Batchingpublic CacheLoaderWriterType.WriteBehind.NonBatching createCacheLoaderWriterTypeWriteBehindNonBatching()
CacheLoaderWriterType.WriteBehind.NonBatchingpublic ListenersType.Listener createListenersTypeListener()
ListenersType.Listenerpublic SizeofType.MaxObjectGraphSize createSizeofTypeMaxObjectGraphSize()
SizeofType.MaxObjectGraphSizepublic ThreadPoolsType.ThreadPool createThreadPoolsTypeThreadPool()
ThreadPoolsType.ThreadPoolpublic CopierType.Copier createCopierTypeCopier()
CopierType.Copierpublic SerializerType.Serializer createSerializerTypeSerializer()
SerializerType.Serializerpublic javax.xml.bind.JAXBElement<ConfigType> createConfig(ConfigType value)
public javax.xml.bind.JAXBElement<java.lang.Object> createServiceCreationConfiguration(java.lang.Object value)
JAXBElement<Object>}public javax.xml.bind.JAXBElement<java.lang.Object> createServiceConfiguration(java.lang.Object value)
JAXBElement<Object>}public javax.xml.bind.JAXBElement<java.lang.Object> createResource(java.lang.Object value)
JAXBElement<Object>}public Heap createHeap(ResourceTypeWithPropSubst value)
Heap}public Offheap createOffheap(MemoryTypeWithPropSubst value)
Offheap}public Disk createDisk(PersistableMemoryTypeWithPropSubst value)
Disk}