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

eu.toop.edm.jaxb.w3.adms.ObjectFactory Maven / Gradle / Ivy


package eu.toop.edm.jaxb.w3.adms;

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;
import eu.toop.edm.jaxb.dcatap.DCatAPDistributionType;
import eu.toop.edm.jaxb.rdf.PlainLiteral;
import eu.toop.edm.jaxb.w3.skos.ConceptType;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the eu.toop.edm.jaxb.w3.adms 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 _Sample_QNAME = new QName("http://www.w3.org/ns/adms#", "sample"); public final static QName _Identifier_QNAME = new QName("http://www.w3.org/ns/adms#", "identifier"); public final static QName _Status_QNAME = new QName("http://www.w3.org/ns/adms#", "status"); public final static QName _VersionNotes_QNAME = new QName("http://www.w3.org/ns/adms#", "versionNotes"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: eu.toop.edm.jaxb.w3.adms * */ public ObjectFactory() { } /** * Create an instance of {@link IdentifierType } * * @return * The created IdentifierType object and never null. */ @Nonnull public IdentifierType createIdentifierType() { return new IdentifierType(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link DCatAPDistributionType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link DCatAPDistributionType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/adms#", name = "sample") @Nonnull public JAXBElement createSample( @Nullable final DCatAPDistributionType value) { return new JAXBElement(_Sample_QNAME, DCatAPDistributionType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link IdentifierType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link IdentifierType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/adms#", name = "identifier") @Nonnull public JAXBElement createIdentifier( @Nullable final IdentifierType value) { return new JAXBElement(_Identifier_QNAME, IdentifierType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ConceptType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link ConceptType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/adms#", name = "status") @Nonnull public JAXBElement createStatus( @Nullable final ConceptType value) { return new JAXBElement(_Status_QNAME, ConceptType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link PlainLiteral }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link PlainLiteral }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/adms#", name = "versionNotes") @Nonnull public JAXBElement createVersionNotes( @Nullable final PlainLiteral value) { return new JAXBElement(_VersionNotes_QNAME, PlainLiteral.class, null, value); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy