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

com.helger.peppol.sbdh.spec12.ObjectFactory Maven / Gradle / Ivy

Go to download

Library for reading and writing OASIS Standard Business Document Header (SBDH) documents conforming to the PEPPOL specifications

There is a newer version: 8.0.7
Show newest version

package com.helger.peppol.sbdh.spec12;

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.peppol.sbdh.spec12 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 _BinaryContent_QNAME = new QName("http://peppol.eu/xsd/ticc/envelope/1.0", "BinaryContent"); public final static QName _TextContent_QNAME = new QName("http://peppol.eu/xsd/ticc/envelope/1.0", "TextContent"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.peppol.sbdh.spec12 * */ public ObjectFactory() { } /** * Create an instance of {@link BinaryContentType } * * @return * The created BinaryContentType object and never null. */ @Nonnull public BinaryContentType createBinaryContentType() { return new BinaryContentType(); } /** * Create an instance of {@link TextContentType } * * @return * The created TextContentType object and never null. */ @Nonnull public TextContentType createTextContentType() { return new TextContentType(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BinaryContentType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link BinaryContentType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://peppol.eu/xsd/ticc/envelope/1.0", name = "BinaryContent") @Nonnull public JAXBElement createBinaryContent( @Nullable final BinaryContentType value) { return new JAXBElement(_BinaryContent_QNAME, BinaryContentType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link TextContentType }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link TextContentType }{@code >} The created JAXBElement and never null. */ @XmlElementDecl(namespace = "http://peppol.eu/xsd/ticc/envelope/1.0", name = "TextContent") @Nonnull public JAXBElement createTextContent( @Nullable final TextContentType value) { return new JAXBElement(_TextContent_QNAME, TextContentType.class, null, value); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy