com.vmware.vcloud.api.rest.schema.versioning.ObjectFactory Maven / Gradle / Ivy
Show all versions of vcd-api-bindings-java Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.01.18 at 01:51:27 AM UTC
//
package com.vmware.vcloud.api.rest.schema.versioning;
/*-
* #%L
* vcd-api-bindings-java :: vCloud Director REST API bindings
* %%
* Copyright (C) 2013 - 2019 VMware
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* #L%
*/
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 com.vmware.vcloud.api.rest.schema.versioning 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 _SupportedVersions_QNAME = new QName("http://www.vmware.com/vcloud/versions", "SupportedVersions");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.vmware.vcloud.api.rest.schema.versioning
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link VersionInfoType }
*
*/
public VersionInfoType createVersionInfoType() {
return new VersionInfoType();
}
/**
* Create an instance of {@link SupportedVersionsType }
*
*/
public SupportedVersionsType createSupportedVersionsType() {
return new SupportedVersionsType();
}
/**
* Create an instance of {@link MediaTypeMappingType }
*
*/
public MediaTypeMappingType createMediaTypeMappingType() {
return new MediaTypeMappingType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SupportedVersionsType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.vmware.com/vcloud/versions", name = "SupportedVersions")
public JAXBElement createSupportedVersions(SupportedVersionsType value) {
return new JAXBElement(_SupportedVersions_QNAME, SupportedVersionsType.class, null, value);
}
}