All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.helger.peppol.businesscard.v1.ObjectFactory Maven / Gradle / Ivy

There is a newer version: 9.7.1
Show newest version

package com.helger.peppol.businesscard.v1;

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.peppol.businesscard.v1 package. 
 * 

An ObjectFactory allows you to programmatically * 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 static final QName _BusinessCard_QNAME = new QName("http://www.peppol.eu/schema/pd/businesscard/20160112/", "BusinessCard"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.peppol.businesscard.v1 * */ public ObjectFactory() { } /** * Create an instance of {@link PD1BusinessCardType } * * @return * the new instance of {@link PD1BusinessCardType } The created PD1BusinessCardType object and never null. */ @Nonnull public PD1BusinessCardType createPD1BusinessCardType() { return new PD1BusinessCardType(); } /** * Create an instance of {@link PD1IdentifierType } * * @return * the new instance of {@link PD1IdentifierType } The created PD1IdentifierType object and never null. */ @Nonnull public PD1IdentifierType createPD1IdentifierType() { return new PD1IdentifierType(); } /** * Create an instance of {@link PD1ContactType } * * @return * the new instance of {@link PD1ContactType } The created PD1ContactType object and never null. */ @Nonnull public PD1ContactType createPD1ContactType() { return new PD1ContactType(); } /** * Create an instance of {@link PD1BusinessEntityType } * * @return * the new instance of {@link PD1BusinessEntityType } The created PD1BusinessEntityType object and never null. */ @Nonnull public PD1BusinessEntityType createPD1BusinessEntityType() { return new PD1BusinessEntityType(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link PD1BusinessCardType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link PD1BusinessCardType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://www.peppol.eu/schema/pd/businesscard/20160112/", name = "BusinessCard") @Nonnull public JAXBElement createBusinessCard( @Nullable final PD1BusinessCardType value) { return new JAXBElement<>(_BusinessCard_QNAME, PD1BusinessCardType.class, null, value); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy