com.helger.xsds.xlink.ObjectFactory Maven / Gradle / Ivy
The newest version!
package com.helger.xsds.xlink;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.namespace.QName;
import com.helger.commons.annotation.CodingStyleguideUnaware;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlElementDecl;
import jakarta.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.helger.xsds.xlink 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-jaxb-plugin -Xph-annotate
*
*
*/
@XmlRegistry
@CodingStyleguideUnaware
public class ObjectFactory {
public final static QName _Title_QNAME = new QName("http://www.w3.org/1999/xlink", "title");
public final static QName _Resource_QNAME = new QName("http://www.w3.org/1999/xlink", "resource");
public final static QName _Locator_QNAME = new QName("http://www.w3.org/1999/xlink", "locator");
public final static QName _Arc_QNAME = new QName("http://www.w3.org/1999/xlink", "arc");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.xsds.xlink
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link XLinkTitleEltType }
*
* @return
* the new instance of {@link XLinkTitleEltType } The created XLinkTitleEltType object and never null
.
*/
@Nonnull
public XLinkTitleEltType createXLinkTitleEltType() {
return new XLinkTitleEltType();
}
/**
* Create an instance of {@link XLinkResourceType }
*
* @return
* the new instance of {@link XLinkResourceType } The created XLinkResourceType object and never null
.
*/
@Nonnull
public XLinkResourceType createXLinkResourceType() {
return new XLinkResourceType();
}
/**
* Create an instance of {@link XLinkLocatorType }
*
* @return
* the new instance of {@link XLinkLocatorType } The created XLinkLocatorType object and never null
.
*/
@Nonnull
public XLinkLocatorType createXLinkLocatorType() {
return new XLinkLocatorType();
}
/**
* Create an instance of {@link XLinkArcType }
*
* @return
* the new instance of {@link XLinkArcType } The created XLinkArcType object and never null
.
*/
@Nonnull
public XLinkArcType createXLinkArcType() {
return new XLinkArcType();
}
/**
* Create an instance of {@link XLinkSimple }
*
* @return
* the new instance of {@link XLinkSimple } The created XLinkSimple object and never null
.
*/
@Nonnull
public XLinkSimple createXLinkSimple() {
return new XLinkSimple();
}
/**
* Create an instance of {@link XLinkExtended }
*
* @return
* the new instance of {@link XLinkExtended } The created XLinkExtended object and never null
.
*/
@Nonnull
public XLinkExtended createXLinkExtended() {
return new XLinkExtended();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link XLinkTitleEltType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link XLinkTitleEltType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/1999/xlink", name = "title")
@Nonnull
public JAXBElement createTitle(
@Nullable
final XLinkTitleEltType value) {
return new JAXBElement<>(_Title_QNAME, XLinkTitleEltType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link XLinkResourceType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link XLinkResourceType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/1999/xlink", name = "resource")
@Nonnull
public JAXBElement createResource(
@Nullable
final XLinkResourceType value) {
return new JAXBElement<>(_Resource_QNAME, XLinkResourceType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link XLinkLocatorType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link XLinkLocatorType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/1999/xlink", name = "locator")
@Nonnull
public JAXBElement createLocator(
@Nullable
final XLinkLocatorType value) {
return new JAXBElement<>(_Locator_QNAME, XLinkLocatorType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link XLinkArcType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link XLinkArcType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/1999/xlink", name = "arc")
@Nonnull
public JAXBElement createArc(
@Nullable
final XLinkArcType value) {
return new JAXBElement<>(_Arc_QNAME, XLinkArcType.class, null, value);
}
}