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

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

The newest version!

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

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.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.namespace.QName;
import com.helger.commons.annotation.CodingStyleguideUnaware;
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.org 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 _Classification_QNAME = new QName("http://www.w3.org/ns/org#", "classification"); public final static QName _Identifier_QNAME = new QName("http://www.w3.org/ns/org#", "identifier"); public final static QName _Purpose_QNAME = new QName("http://www.w3.org/ns/org#", "purpose"); public final static QName _HasSubOrganization_QNAME = new QName("http://www.w3.org/ns/org#", "hasSubOrganization"); public final static QName _HasUnit_QNAME = new QName("http://www.w3.org/ns/org#", "hasUnit"); public final static QName _LinkedTo_QNAME = new QName("http://www.w3.org/ns/org#", "linkedTo"); public final static QName _SubOrganizationOf_QNAME = new QName("http://www.w3.org/ns/org#", "subOrganizationOf"); public final static QName _TransitiveSubOrganizationOf_QNAME = new QName("http://www.w3.org/ns/org#", "transitiveSubOrganizationOf"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: eu.toop.edm.jaxb.w3.org * */ public ObjectFactory() { } /** * Create an instance of {@link OrganizationType } * * @return * The created OrganizationType object and never null. */ @Nonnull public OrganizationType createOrganizationType() { return new OrganizationType(); } /** * Create an instance of {@link FormalOrganizationType } * * @return * The created FormalOrganizationType object and never null. */ @Nonnull public FormalOrganizationType createFormalOrganizationType() { return new FormalOrganizationType(); } /** * 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/org#", name = "classification") @Nonnull public JAXBElement createClassification( @Nullable final ConceptType value) { return new JAXBElement(_Classification_QNAME, ConceptType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Object }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/org#", name = "identifier") @Nonnull public JAXBElement createIdentifier( @Nullable final Object value) { return new JAXBElement(_Identifier_QNAME, Object.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Object }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/org#", name = "purpose") @Nonnull public JAXBElement createPurpose( @Nullable final Object value) { return new JAXBElement(_Purpose_QNAME, Object.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/org#", name = "hasSubOrganization") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @Nonnull public JAXBElement createHasSubOrganization( @Nullable final String value) { return new JAXBElement(_HasSubOrganization_QNAME, String.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/org#", name = "hasUnit") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @Nonnull public JAXBElement createHasUnit( @Nullable final String value) { return new JAXBElement(_HasUnit_QNAME, String.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/org#", name = "linkedTo") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @Nonnull public JAXBElement createLinkedTo( @Nullable final String value) { return new JAXBElement(_LinkedTo_QNAME, String.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/org#", name = "subOrganizationOf") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @Nonnull public JAXBElement createSubOrganizationOf( @Nullable final String value) { return new JAXBElement(_SubOrganizationOf_QNAME, String.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/ns/org#", name = "transitiveSubOrganizationOf") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @Nonnull public JAXBElement createTransitiveSubOrganizationOf( @Nullable final String value) { return new JAXBElement(_TransitiveSubOrganizationOf_QNAME, String.class, null, value); } }