com.helger.xhe.v10_cs02.ObjectFactory Maven / Gradle / Ivy
package com.helger.xhe.v10_cs02;
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.xhe.v10_cs02 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 _XHE_QNAME = new QName("oasis-cefact-xhe-1.0-ExchangeHeaderEnvelope", "XHE");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.xhe.v10_cs02
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link XHE10XHEType }
*
* @return
* The created XHE10XHEType object and never null
.
*/
@Nonnull
public XHE10XHEType createXHE10XHEType() {
return new XHE10XHEType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link XHE10XHEType }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link XHE10XHEType }{@code >} The created JAXBElement and never null
.
*/
@XmlElementDecl(namespace = "oasis-cefact-xhe-1.0-ExchangeHeaderEnvelope", name = "XHE")
@Nonnull
public JAXBElement createXHE(
@Nullable
final XHE10XHEType value) {
return new JAXBElement(_XHE_QNAME, XHE10XHEType.class, null, value);
}
}