com.helger.peppol.businesscard.v3.ObjectFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of peppol-directory-businesscard Show documentation
Show all versions of peppol-directory-businesscard Show documentation
The Peppol Directory Business Card data model
package com.helger.peppol.businesscard.v3;
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.v3 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/20180621/", "BusinessCard");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.peppol.businesscard.v3
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link PD3BusinessCardType }
*
* @return
* the new instance of {@link PD3BusinessCardType } The created PD3BusinessCardType object and never null
.
*/
@Nonnull
public PD3BusinessCardType createPD3BusinessCardType() {
return new PD3BusinessCardType();
}
/**
* Create an instance of {@link PD3MultilingualNameType }
*
* @return
* the new instance of {@link PD3MultilingualNameType } The created PD3MultilingualNameType object and never null
.
*/
@Nonnull
public PD3MultilingualNameType createPD3MultilingualNameType() {
return new PD3MultilingualNameType();
}
/**
* Create an instance of {@link PD3IdentifierType }
*
* @return
* the new instance of {@link PD3IdentifierType } The created PD3IdentifierType object and never null
.
*/
@Nonnull
public PD3IdentifierType createPD3IdentifierType() {
return new PD3IdentifierType();
}
/**
* Create an instance of {@link PD3ContactType }
*
* @return
* the new instance of {@link PD3ContactType } The created PD3ContactType object and never null
.
*/
@Nonnull
public PD3ContactType createPD3ContactType() {
return new PD3ContactType();
}
/**
* Create an instance of {@link PD3BusinessEntityType }
*
* @return
* the new instance of {@link PD3BusinessEntityType } The created PD3BusinessEntityType object and never null
.
*/
@Nonnull
public PD3BusinessEntityType createPD3BusinessEntityType() {
return new PD3BusinessEntityType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PD3BusinessCardType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link PD3BusinessCardType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "http://www.peppol.eu/schema/pd/businesscard/20180621/", name = "BusinessCard")
@Nonnull
public JAXBElement createBusinessCard(
@Nullable
final PD3BusinessCardType value) {
return new JAXBElement<>(_BusinessCard_QNAME, PD3BusinessCardType.class, null, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy