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

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

The newest version!

package eu.toop.edm.jaxb.foaf;

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.HexBinaryAdapter;
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;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the eu.toop.edm.jaxb.foaf 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 _Account_QNAME = new QName("http://xmlns.com/foaf/0.1/", "account"); public final static QName _CurrentProject_QNAME = new QName("http://xmlns.com/foaf/0.1/", "currentProject"); public final static QName _LastName_QNAME = new QName("http://xmlns.com/foaf/0.1/", "lastName"); public final static QName _FamilyName_QNAME = new QName("http://xmlns.com/foaf/0.1/", "familyName"); public final static QName _Family_Name_QNAME = new QName("http://xmlns.com/foaf/0.1/", "family_name"); public final static QName _FirstName_QNAME = new QName("http://xmlns.com/foaf/0.1/", "firstName"); public final static QName _Geekcode_QNAME = new QName("http://xmlns.com/foaf/0.1/", "geekcode"); public final static QName _Homepage_QNAME = new QName("http://xmlns.com/foaf/0.1/", "homepage"); public final static QName _Img_QNAME = new QName("http://xmlns.com/foaf/0.1/", "img"); public final static QName _MyersBriggs_QNAME = new QName("http://xmlns.com/foaf/0.1/", "myersBriggs"); public final static QName _PastProject_QNAME = new QName("http://xmlns.com/foaf/0.1/", "pastProject"); public final static QName _PrimaryTopic_QNAME = new QName("http://xmlns.com/foaf/0.1/", "primaryTopic"); public final static QName _Publications_QNAME = new QName("http://xmlns.com/foaf/0.1/", "publications"); public final static QName _Sha1_QNAME = new QName("http://xmlns.com/foaf/0.1/", "sha1"); public final static QName _SchoolInfoHomepage_QNAME = new QName("http://xmlns.com/foaf/0.1/", "schoolInfoHomepage"); public final static QName _Surname_QNAME = new QName("http://xmlns.com/foaf/0.1/", "surname"); public final static QName _Topic_QNAME = new QName("http://xmlns.com/foaf/0.1/", "topic"); public final static QName _WorkInfoHomepage_QNAME = new QName("http://xmlns.com/foaf/0.1/", "workInfoHomepage"); public final static QName _Knows_QNAME = new QName("http://xmlns.com/foaf/0.1/", "knows"); public final static QName _Page_QNAME = new QName("http://xmlns.com/foaf/0.1/", "page"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: eu.toop.edm.jaxb.foaf * */ public ObjectFactory() { } /** * Create an instance of {@link FoafDocumentType } * * @return * The created FoafDocumentType object and never null. */ @Nonnull public FoafDocumentType createFoafDocumentType() { return new FoafDocumentType(); } /** * Create an instance of {@link FoafAgentType } * * @return * The created FoafAgentType object and never null. */ @Nonnull public FoafAgentType createFoafAgentType() { return new FoafAgentType(); } /** * Create an instance of {@link FoafPersonType } * * @return * The created FoafPersonType object and never null. */ @Nonnull public FoafPersonType createFoafPersonType() { return new FoafPersonType(); } /** * Create an instance of {@link FoafOrganizationType } * * @return * The created FoafOrganizationType object and never null. */ @Nonnull public FoafOrganizationType createFoafOrganizationType() { return new FoafOrganizationType(); } /** * 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://xmlns.com/foaf/0.1/", name = "account") @Nonnull public JAXBElement createAccount( @Nullable final Object value) { return new JAXBElement(_Account_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://xmlns.com/foaf/0.1/", name = "currentProject") @Nonnull public JAXBElement createCurrentProject( @Nullable final Object value) { return new JAXBElement(_CurrentProject_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://xmlns.com/foaf/0.1/", name = "lastName") @Nonnull public JAXBElement createLastName( @Nullable final String value) { return new JAXBElement(_LastName_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://xmlns.com/foaf/0.1/", name = "familyName") @Nonnull public JAXBElement createFamilyName( @Nullable final String value) { return new JAXBElement(_FamilyName_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://xmlns.com/foaf/0.1/", name = "family_name") @Nonnull public JAXBElement createFamily_Name( @Nullable final String value) { return new JAXBElement(_Family_Name_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://xmlns.com/foaf/0.1/", name = "firstName") @Nonnull public JAXBElement createFirstName( @Nullable final String value) { return new JAXBElement(_FirstName_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://xmlns.com/foaf/0.1/", name = "geekcode") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @Nonnull public JAXBElement createGeekcode( @Nullable final String value) { return new JAXBElement(_Geekcode_QNAME, String.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://xmlns.com/foaf/0.1/", name = "homepage") @Nonnull public JAXBElement createHomepage( @Nullable final FoafDocumentType value) { return new JAXBElement(_Homepage_QNAME, FoafDocumentType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://xmlns.com/foaf/0.1/", name = "img") @Nonnull public JAXBElement createImg( @Nullable final byte[] value) { return new JAXBElement(_Img_QNAME, byte[].class, null, ((byte[]) 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://xmlns.com/foaf/0.1/", name = "myersBriggs") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @Nonnull public JAXBElement createMyersBriggs( @Nullable final String value) { return new JAXBElement(_MyersBriggs_QNAME, String.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://xmlns.com/foaf/0.1/", name = "pastProject") @Nonnull public JAXBElement createPastProject( @Nullable final Object value) { return new JAXBElement(_PastProject_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://xmlns.com/foaf/0.1/", name = "primaryTopic") @Nonnull public JAXBElement createPrimaryTopic( @Nullable final Object value) { return new JAXBElement(_PrimaryTopic_QNAME, Object.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://xmlns.com/foaf/0.1/", name = "publications") @Nonnull public JAXBElement createPublications( @Nullable final FoafDocumentType value) { return new JAXBElement(_Publications_QNAME, FoafDocumentType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://xmlns.com/foaf/0.1/", name = "sha1") @XmlJavaTypeAdapter(HexBinaryAdapter.class) @Nonnull public JAXBElement createSha1( @Nullable final byte[] value) { return new JAXBElement(_Sha1_QNAME, byte[].class, null, ((byte[]) value)); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://xmlns.com/foaf/0.1/", name = "schoolInfoHomepage") @Nonnull public JAXBElement createSchoolInfoHomepage( @Nullable final FoafDocumentType value) { return new JAXBElement(_SchoolInfoHomepage_QNAME, FoafDocumentType.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://xmlns.com/foaf/0.1/", name = "surname") @Nonnull public JAXBElement createSurname( @Nullable final String value) { return new JAXBElement(_Surname_QNAME, String.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://xmlns.com/foaf/0.1/", name = "topic") @Nonnull public JAXBElement createTopic( @Nullable final Object value) { return new JAXBElement(_Topic_QNAME, Object.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://xmlns.com/foaf/0.1/", name = "workInfoHomepage") @Nonnull public JAXBElement createWorkInfoHomepage( @Nullable final FoafDocumentType value) { return new JAXBElement(_WorkInfoHomepage_QNAME, FoafDocumentType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FoafPersonType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link FoafPersonType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://xmlns.com/foaf/0.1/", name = "knows") @Nonnull public JAXBElement createKnows( @Nullable final FoafPersonType value) { return new JAXBElement(_Knows_QNAME, FoafPersonType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link FoafDocumentType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://xmlns.com/foaf/0.1/", name = "page") @Nonnull public JAXBElement createPage( @Nullable final FoafDocumentType value) { return new JAXBElement(_Page_QNAME, FoafDocumentType.class, null, value); } }