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

eu.toop.edm.jaxb.spdx.ObjectFactory Maven / Gradle / Ivy

The newest version!

package eu.toop.edm.jaxb.spdx;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import com.helger.commons.annotation.CodingStyleguideUnaware;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the eu.toop.edm.jaxb.spdx 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.

This class was annotated by ph-jaxb22-plugin -Xph-annotate

* * */ @XmlRegistry @CodingStyleguideUnaware public class ObjectFactory { public final static QName _AlgorithmCode_QNAME = new QName("spdx:xsd::1.0", "algorithmCode"); public final static QName _Checksum_QNAME = new QName("spdx:xsd::1.0", "checksum"); public final static QName _ChecksumAugmentationPoint_QNAME = new QName("spdx:xsd::1.0", "checksumAugmentationPoint"); public final static QName _ChecksumValue_QNAME = new QName("spdx:xsd::1.0", "checksumValue"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: eu.toop.edm.jaxb.spdx * */ public ObjectFactory() { } /** * Create an instance of {@link AlgorithmCodeType } * * @return * The created AlgorithmCodeType object and never null. */ @Nonnull public AlgorithmCodeType createAlgorithmCodeType() { return new AlgorithmCodeType(); } /** * Create an instance of {@link ChecksumType } * * @return * The created ChecksumType object and never null. */ @Nonnull public ChecksumType createChecksumType() { return new ChecksumType(); } /** * Create an instance of {@link ChecksumValueType } * * @return * The created ChecksumValueType object and never null. */ @Nonnull public ChecksumValueType createChecksumValueType() { return new ChecksumValueType(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link AlgorithmCodeType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link AlgorithmCodeType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "spdx:xsd::1.0", name = "algorithmCode") @Nonnull public JAXBElement createAlgorithmCode( @Nullable final AlgorithmCodeType value) { return new JAXBElement(_AlgorithmCode_QNAME, AlgorithmCodeType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ChecksumType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link ChecksumType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "spdx:xsd::1.0", name = "checksum") @Nonnull public JAXBElement createChecksum( @Nullable final ChecksumType value) { return new JAXBElement(_Checksum_QNAME, ChecksumType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ChecksumAugmentationPointType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link ChecksumAugmentationPointType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "spdx:xsd::1.0", name = "checksumAugmentationPoint") @Nonnull public JAXBElement createChecksumAugmentationPoint( @Nullable final ChecksumAugmentationPointType value) { return new JAXBElement(_ChecksumAugmentationPoint_QNAME, ChecksumAugmentationPointType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ChecksumValueType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link ChecksumValueType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "spdx:xsd::1.0", name = "checksumValue") @Nonnull public JAXBElement createChecksumValue( @Nullable final ChecksumValueType value) { return new JAXBElement(_ChecksumValue_QNAME, ChecksumValueType.class, null, value); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy