eu.toop.edm.jaxb.owl.ObjectFactory Maven / Gradle / Ivy
package eu.toop.edm.jaxb.owl;
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.owl 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 _Thing_QNAME = new QName("http://www.w3.org/2002/07/owl#", "Thing");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: eu.toop.edm.jaxb.owl
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ThingType }
*
* @return
* The created ThingType object and never null
.
*/
@Nonnull
public ThingType createThingType() {
return new ThingType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ThingType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ThingType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/2002/07/owl#", name = "Thing")
@Nonnull
public JAXBElement createThing(
@Nullable
final ThingType value) {
return new JAXBElement(_Thing_QNAME, ThingType.class, null, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy