eu.toop.edm.jaxb.w3.regorg.ObjectFactory Maven / Gradle / Ivy
The newest version!
package eu.toop.edm.jaxb.w3.regorg;
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;
import eu.toop.edm.jaxb.cv.cbc.NameType;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the eu.toop.edm.jaxb.w3.regorg 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 _RegisteredOrganization_QNAME = new QName("http://www.w3.org/ns/regorg#", "RegisteredOrganization");
public final static QName _LegalName_QNAME = new QName("http://www.w3.org/ns/regorg#", "LegalName");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: eu.toop.edm.jaxb.w3.regorg
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link RegisteredOrganizationType }
*
* @return
* The created RegisteredOrganizationType object and never null
.
*/
@Nonnull
public RegisteredOrganizationType createRegisteredOrganizationType() {
return new RegisteredOrganizationType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RegisteredOrganizationType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link RegisteredOrganizationType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/ns/regorg#", name = "RegisteredOrganization")
@Nonnull
public JAXBElement createRegisteredOrganization(
@Nullable
final RegisteredOrganizationType value) {
return new JAXBElement(_RegisteredOrganization_QNAME, RegisteredOrganizationType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link NameType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link NameType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.w3.org/ns/regorg#", name = "LegalName")
@Nonnull
public JAXBElement createLegalName(
@Nullable
final NameType value) {
return new JAXBElement(_LegalName_QNAME, NameType.class, null, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy