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

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


package eu.toop.edm.jaxb.rdf;

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.rdf 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 _Type_QNAME = new QName("http://www.w3.org/1999/02/22-rdf-syntax-ns#", "type"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: eu.toop.edm.jaxb.rdf * */ public ObjectFactory() { } /** * Create an instance of {@link StatementType } * * @return * The created StatementType object and never null. */ @Nonnull public StatementType createStatementType() { return new StatementType(); } /** * Create an instance of {@link StatementType.Statement } * * @return * The created Statement object and never null. */ @Nonnull public StatementType.Statement createStatementTypeStatement() { return new StatementType.Statement(); } /** * Create an instance of {@link PlainLiteral } * * @return * The created PlainLiteral object and never null. */ @Nonnull public PlainLiteral createPlainLiteral() { return new PlainLiteral(); } /** * Create an instance of {@link Resource } * * @return * The created Resource object and never null. */ @Nonnull public Resource createResource() { return new Resource(); } /** * Create an instance of {@link TypedLiteral } * * @return * The created TypedLiteral object and never null. */ @Nonnull public TypedLiteral createTypedLiteral() { return new TypedLiteral(); } /** * Create an instance of {@link DateTimeLiteral } * * @return * The created DateTimeLiteral object and never null. */ @Nonnull public DateTimeLiteral createDateTimeLiteral() { return new DateTimeLiteral(); } /** * Create an instance of {@link DateLiteral } * * @return * The created DateLiteral object and never null. */ @Nonnull public DateLiteral createDateLiteral() { return new DateLiteral(); } /** * Create an instance of {@link DateOrDateTimeLiteral } * * @return * The created DateOrDateTimeLiteral object and never null. */ @Nonnull public DateOrDateTimeLiteral createDateOrDateTimeLiteral() { return new DateOrDateTimeLiteral(); } /** * Create an instance of {@link StatementType.Statement.Subject } * * @return * The created Subject object and never null. */ @Nonnull public StatementType.Statement.Subject createStatementTypeStatementSubject() { return new StatementType.Statement.Subject(); } /** * Create an instance of {@link StatementType.Statement.Predicate } * * @return * The created Predicate object and never null. */ @Nonnull public StatementType.Statement.Predicate createStatementTypeStatementPredicate() { return new StatementType.Statement.Predicate(); } /** * Create an instance of {@link StatementType.Statement.Object } * * @return * The created Object object and never null. */ @Nonnull public StatementType.Statement.Object createStatementTypeStatementObject() { return new StatementType.Statement.Object(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Resource }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Resource }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", name = "type") @Nonnull public JAXBElement createType( @Nullable final Resource value) { return new JAXBElement(_Type_QNAME, Resource.class, null, value); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy