com.helger.xsds.bdxr.smp2.ObjectFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ph-xsds-bdxr-smp2 Show documentation
Show all versions of ph-xsds-bdxr-smp2 Show documentation
OASIS BDXR SMP v1 wrapped in JAXB
package com.helger.xsds.bdxr.smp2;
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 com.helger.xsds.bdxr.smp2 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 _ServiceGroup_QNAME = new QName("http://docs.oasis-open.org/bdxr/ns/SMP/2/ServiceGroup", "ServiceGroup");
public final static QName _ServiceMetadata_QNAME = new QName("http://docs.oasis-open.org/bdxr/ns/SMP/2/ServiceMetadata", "ServiceMetadata");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.xsds.bdxr.smp2
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ServiceGroupType }
*
* @return
* The created ServiceGroupType object and never null
.
*/
@Nonnull
public ServiceGroupType createServiceGroupType() {
return new ServiceGroupType();
}
/**
* Create an instance of {@link ServiceMetadataType }
*
* @return
* The created ServiceMetadataType object and never null
.
*/
@Nonnull
public ServiceMetadataType createServiceMetadataType() {
return new ServiceMetadataType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ServiceGroupType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ServiceGroupType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/bdxr/ns/SMP/2/ServiceGroup", name = "ServiceGroup")
@Nonnull
public JAXBElement createServiceGroup(
@Nullable
final ServiceGroupType value) {
return new JAXBElement(_ServiceGroup_QNAME, ServiceGroupType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ServiceMetadataType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ServiceMetadataType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://docs.oasis-open.org/bdxr/ns/SMP/2/ServiceMetadata", name = "ServiceMetadata")
@Nonnull
public JAXBElement createServiceMetadata(
@Nullable
final ServiceMetadataType value) {
return new JAXBElement(_ServiceMetadata_QNAME, ServiceMetadataType.class, null, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy