All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ehcache.xml.model.ObjectFactory Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.17-hudson-jaxb-ri-2.1-pushtomaven-253--SNAPSHOT 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.06.06 at 03:03:45 AM PDT 
//


package org.ehcache.xml.model;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the org.ehcache.xml.model 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. * */ @XmlRegistry public class ObjectFactory { private final static QName _Config_QNAME = new QName("http://www.ehcache.org/v3", "config"); private final static QName _Resource_QNAME = new QName("http://www.ehcache.org/v3", "resource"); private final static QName _ServiceCreationConfiguration_QNAME = new QName("http://www.ehcache.org/v3", "service-creation-configuration"); private final static QName _ServiceConfiguration_QNAME = new QName("http://www.ehcache.org/v3", "service-configuration"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ehcache.xml.model * */ public ObjectFactory() { } /** * Create an instance of {@link SerializerType } * */ public SerializerType createSerializerType() { return new SerializerType(); } /** * Create an instance of {@link CopierType } * */ public CopierType createCopierType() { return new CopierType(); } /** * Create an instance of {@link ThreadPoolsType } * */ public ThreadPoolsType createThreadPoolsType() { return new ThreadPoolsType(); } /** * Create an instance of {@link SizeofType } * */ public SizeofType createSizeofType() { return new SizeofType(); } /** * Create an instance of {@link ListenersType } * */ public ListenersType createListenersType() { return new ListenersType(); } /** * Create an instance of {@link CacheLoaderWriterType } * */ public CacheLoaderWriterType createCacheLoaderWriterType() { return new CacheLoaderWriterType(); } /** * Create an instance of {@link CacheLoaderWriterType.WriteBehind } * */ public CacheLoaderWriterType.WriteBehind createCacheLoaderWriterTypeWriteBehind() { return new CacheLoaderWriterType.WriteBehind(); } /** * Create an instance of {@link ExpiryType } * */ public ExpiryType createExpiryType() { return new ExpiryType(); } /** * Create an instance of {@link ResourceType } * */ public ResourceType createResourceType() { return new ResourceType(); } /** * Create an instance of {@link PersistableMemoryType } * */ public PersistableMemoryType createPersistableMemoryType() { return new PersistableMemoryType(); } /** * Create an instance of {@link MemoryType } * */ public MemoryType createMemoryType() { return new MemoryType(); } /** * Create an instance of {@link ConfigType } * */ public ConfigType createConfigType() { return new ConfigType(); } /** * Create an instance of {@link ServiceType } * */ public ServiceType createServiceType() { return new ServiceType(); } /** * Create an instance of {@link ThreadPoolReferenceType } * */ public ThreadPoolReferenceType createThreadPoolReferenceType() { return new ThreadPoolReferenceType(); } /** * Create an instance of {@link TimeType } * */ public TimeType createTimeType() { return new TimeType(); } /** * Create an instance of {@link CacheType } * */ public CacheType createCacheType() { return new CacheType(); } /** * Create an instance of {@link DiskStoreSettingsType } * */ public DiskStoreSettingsType createDiskStoreSettingsType() { return new DiskStoreSettingsType(); } /** * Create an instance of {@link ResourcesType } * */ public ResourcesType createResourcesType() { return new ResourcesType(); } /** * Create an instance of {@link PersistenceType } * */ public PersistenceType createPersistenceType() { return new PersistenceType(); } /** * Create an instance of {@link CacheEntryType } * */ public CacheEntryType createCacheEntryType() { return new CacheEntryType(); } /** * Create an instance of {@link CacheTemplateType } * */ public CacheTemplateType createCacheTemplateType() { return new CacheTemplateType(); } /** * Create an instance of {@link SerializerType.Serializer } * */ public SerializerType.Serializer createSerializerTypeSerializer() { return new SerializerType.Serializer(); } /** * Create an instance of {@link CopierType.Copier } * */ public CopierType.Copier createCopierTypeCopier() { return new CopierType.Copier(); } /** * Create an instance of {@link ThreadPoolsType.ThreadPool } * */ public ThreadPoolsType.ThreadPool createThreadPoolsTypeThreadPool() { return new ThreadPoolsType.ThreadPool(); } /** * Create an instance of {@link SizeofType.MaxObjectGraphSize } * */ public SizeofType.MaxObjectGraphSize createSizeofTypeMaxObjectGraphSize() { return new SizeofType.MaxObjectGraphSize(); } /** * Create an instance of {@link ListenersType.Listener } * */ public ListenersType.Listener createListenersTypeListener() { return new ListenersType.Listener(); } /** * Create an instance of {@link CacheLoaderWriterType.WriteBehind.Batching } * */ public CacheLoaderWriterType.WriteBehind.Batching createCacheLoaderWriterTypeWriteBehindBatching() { return new CacheLoaderWriterType.WriteBehind.Batching(); } /** * Create an instance of {@link ExpiryType.None } * */ public ExpiryType.None createExpiryTypeNone() { return new ExpiryType.None(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ConfigType }{@code >}} * */ @XmlElementDecl(namespace = "http://www.ehcache.org/v3", name = "config") public JAXBElement createConfig(ConfigType value) { return new JAXBElement(_Config_QNAME, ConfigType.class, null, value); } /** * Create an instance of {@link Offheap }} * */ @XmlElementDecl(namespace = "http://www.ehcache.org/v3", name = "offheap", substitutionHeadNamespace = "http://www.ehcache.org/v3", substitutionHeadName = "resource") public Offheap createOffheap(MemoryType value) { return new Offheap(value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} * */ @XmlElementDecl(namespace = "http://www.ehcache.org/v3", name = "resource") public JAXBElement createResource(Object value) { return new JAXBElement(_Resource_QNAME, Object.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} * */ @XmlElementDecl(namespace = "http://www.ehcache.org/v3", name = "service-creation-configuration") public JAXBElement createServiceCreationConfiguration(Object value) { return new JAXBElement(_ServiceCreationConfiguration_QNAME, Object.class, null, value); } /** * Create an instance of {@link Heap }} * */ @XmlElementDecl(namespace = "http://www.ehcache.org/v3", name = "heap", substitutionHeadNamespace = "http://www.ehcache.org/v3", substitutionHeadName = "resource") public Heap createHeap(ResourceType value) { return new Heap(value); } /** * Create an instance of {@link Disk }} * */ @XmlElementDecl(namespace = "http://www.ehcache.org/v3", name = "disk", substitutionHeadNamespace = "http://www.ehcache.org/v3", substitutionHeadName = "resource") public Disk createDisk(PersistableMemoryType value) { return new Disk(value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >}} * */ @XmlElementDecl(namespace = "http://www.ehcache.org/v3", name = "service-configuration") public JAXBElement createServiceConfiguration(Object value) { return new JAXBElement(_ServiceConfiguration_QNAME, Object.class, null, value); } }