oasis.names.specification.ubl.schema.xsd.commonextensioncomponents_2.ObjectFactory Maven / Gradle / Ivy
package oasis.names.specification.ubl.schema.xsd.commonextensioncomponents_2;
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;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the oasis.names.specification.ubl.schema.xsd.commonextensioncomponents_2 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.
*
*/
@XmlRegistry
public class ObjectFactory {
public final static QName _ExtensionVersionID_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "ExtensionVersionID");
public final static QName _ExtensionReasonCode_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "ExtensionReasonCode");
public final static QName _ExtensionAgencyName_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "ExtensionAgencyName");
public final static QName _ExtensionAgencyID_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "ExtensionAgencyID");
public final static QName _ExtensionAgencyURI_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "ExtensionAgencyURI");
public final static QName _UBLExtensions_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "UBLExtensions");
public final static QName _ExtensionURI_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "ExtensionURI");
public final static QName _ExtensionReason_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "ExtensionReason");
public final static QName _UBLExtension_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "UBLExtension");
public final static QName _ExtensionContent_QNAME = new QName("urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", "ExtensionContent");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: oasis.names.specification.ubl.schema.xsd.commonextensioncomponents_2
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ExtensionAgencyIDType }
*
* @return
* The created ExtensionAgencyIDType object and never null
.
*/
@Nonnull
public ExtensionAgencyIDType createExtensionAgencyIDType() {
return new ExtensionAgencyIDType();
}
/**
* Create an instance of {@link ExtensionAgencyNameType }
*
* @return
* The created ExtensionAgencyNameType object and never null
.
*/
@Nonnull
public ExtensionAgencyNameType createExtensionAgencyNameType() {
return new ExtensionAgencyNameType();
}
/**
* Create an instance of {@link UBLExtensionType }
*
* @return
* The created UBLExtensionType object and never null
.
*/
@Nonnull
public UBLExtensionType createUBLExtensionType() {
return new UBLExtensionType();
}
/**
* Create an instance of {@link UBLExtensionsType }
*
* @return
* The created UBLExtensionsType object and never null
.
*/
@Nonnull
public UBLExtensionsType createUBLExtensionsType() {
return new UBLExtensionsType();
}
/**
* Create an instance of {@link ExtensionReasonType }
*
* @return
* The created ExtensionReasonType object and never null
.
*/
@Nonnull
public ExtensionReasonType createExtensionReasonType() {
return new ExtensionReasonType();
}
/**
* Create an instance of {@link ExtensionAgencyURIType }
*
* @return
* The created ExtensionAgencyURIType object and never null
.
*/
@Nonnull
public ExtensionAgencyURIType createExtensionAgencyURIType() {
return new ExtensionAgencyURIType();
}
/**
* Create an instance of {@link ExtensionReasonCodeType }
*
* @return
* The created ExtensionReasonCodeType object and never null
.
*/
@Nonnull
public ExtensionReasonCodeType createExtensionReasonCodeType() {
return new ExtensionReasonCodeType();
}
/**
* Create an instance of {@link ExtensionContentType }
*
* @return
* The created ExtensionContentType object and never null
.
*/
@Nonnull
public ExtensionContentType createExtensionContentType() {
return new ExtensionContentType();
}
/**
* Create an instance of {@link ExtensionVersionIDType }
*
* @return
* The created ExtensionVersionIDType object and never null
.
*/
@Nonnull
public ExtensionVersionIDType createExtensionVersionIDType() {
return new ExtensionVersionIDType();
}
/**
* Create an instance of {@link ExtensionURIType }
*
* @return
* The created ExtensionURIType object and never null
.
*/
@Nonnull
public ExtensionURIType createExtensionURIType() {
return new ExtensionURIType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ExtensionVersionIDType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "ExtensionVersionID")
@Nonnull
public JAXBElement createExtensionVersionID(
@Nullable
final ExtensionVersionIDType value) {
return new JAXBElement(_ExtensionVersionID_QNAME, ExtensionVersionIDType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ExtensionReasonCodeType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "ExtensionReasonCode")
@Nonnull
public JAXBElement createExtensionReasonCode(
@Nullable
final ExtensionReasonCodeType value) {
return new JAXBElement(_ExtensionReasonCode_QNAME, ExtensionReasonCodeType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ExtensionAgencyNameType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "ExtensionAgencyName")
@Nonnull
public JAXBElement createExtensionAgencyName(
@Nullable
final ExtensionAgencyNameType value) {
return new JAXBElement(_ExtensionAgencyName_QNAME, ExtensionAgencyNameType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ExtensionAgencyIDType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "ExtensionAgencyID")
@Nonnull
public JAXBElement createExtensionAgencyID(
@Nullable
final ExtensionAgencyIDType value) {
return new JAXBElement(_ExtensionAgencyID_QNAME, ExtensionAgencyIDType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ExtensionAgencyURIType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "ExtensionAgencyURI")
@Nonnull
public JAXBElement createExtensionAgencyURI(
@Nullable
final ExtensionAgencyURIType value) {
return new JAXBElement(_ExtensionAgencyURI_QNAME, ExtensionAgencyURIType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link UBLExtensionsType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "UBLExtensions")
@Nonnull
public JAXBElement createUBLExtensions(
@Nullable
final UBLExtensionsType value) {
return new JAXBElement(_UBLExtensions_QNAME, UBLExtensionsType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ExtensionURIType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "ExtensionURI")
@Nonnull
public JAXBElement createExtensionURI(
@Nullable
final ExtensionURIType value) {
return new JAXBElement(_ExtensionURI_QNAME, ExtensionURIType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ExtensionReasonType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "ExtensionReason")
@Nonnull
public JAXBElement createExtensionReason(
@Nullable
final ExtensionReasonType value) {
return new JAXBElement(_ExtensionReason_QNAME, ExtensionReasonType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link UBLExtensionType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "UBLExtension")
@Nonnull
public JAXBElement createUBLExtension(
@Nullable
final UBLExtensionType value) {
return new JAXBElement(_UBLExtension_QNAME, UBLExtensionType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ExtensionContentType }{@code >}}
*
* @return
* The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2", name = "ExtensionContent")
@Nonnull
public JAXBElement createExtensionContent(
@Nullable
final ExtensionContentType value) {
return new JAXBElement(_ExtensionContent_QNAME, ExtensionContentType.class, null, value);
}
}