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

com.genexus.gxserver.client.services.serialization.ObjectFactory Maven / Gradle / Ivy


package com.genexus.gxserver.client.services.serialization;

import java.math.BigDecimal;
import java.math.BigInteger;
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
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.genexus.gxserver.client.services.serialization 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. * */ @XmlRegistry public class ObjectFactory { private final static QName _AnyType_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "anyType"); private final static QName _AnyURI_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "anyURI"); private final static QName _Base64Binary_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "base64Binary"); private final static QName _Boolean_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "boolean"); private final static QName _Byte_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "byte"); private final static QName _DateTime_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "dateTime"); private final static QName _Decimal_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "decimal"); private final static QName _Double_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "double"); private final static QName _Float_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "float"); private final static QName _Int_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "int"); private final static QName _Long_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "long"); private final static QName _QName_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "QName"); private final static QName _Short_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "short"); private final static QName _String_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "string"); private final static QName _UnsignedByte_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedByte"); private final static QName _UnsignedInt_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedInt"); private final static QName _UnsignedLong_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedLong"); private final static QName _UnsignedShort_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "unsignedShort"); private final static QName _Char_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "char"); private final static QName _Duration_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "duration"); private final static QName _Guid_QNAME = new QName("http://schemas.microsoft.com/2003/10/Serialization/", "guid"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.genexus.gxserver.client.services.serialization * */ public ObjectFactory() { } /** * Create an instance of {@link JAXBElement }{@code <}{@link Object }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Object }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "anyType") public JAXBElement createAnyType(Object value) { return new JAXBElement(_AnyType_QNAME, Object.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "anyURI") public JAXBElement createAnyURI(String value) { return new JAXBElement(_AnyURI_QNAME, String.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "base64Binary") public JAXBElement createBase64Binary(byte[] value) { return new JAXBElement(_Base64Binary_QNAME, byte[].class, null, ((byte[]) value)); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "boolean") public JAXBElement createBoolean(Boolean value) { return new JAXBElement(_Boolean_QNAME, Boolean.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Byte }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Byte }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "byte") public JAXBElement createByte(Byte value) { return new JAXBElement(_Byte_QNAME, Byte.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "dateTime") public JAXBElement createDateTime(XMLGregorianCalendar value) { return new JAXBElement(_DateTime_QNAME, XMLGregorianCalendar.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "decimal") public JAXBElement createDecimal(BigDecimal value) { return new JAXBElement(_Decimal_QNAME, BigDecimal.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Double }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Double }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "double") public JAXBElement createDouble(Double value) { return new JAXBElement(_Double_QNAME, Double.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Float }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Float }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "float") public JAXBElement createFloat(Float value) { return new JAXBElement(_Float_QNAME, Float.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "int") public JAXBElement createInt(Integer value) { return new JAXBElement(_Int_QNAME, Integer.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Long }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "long") public JAXBElement createLong(Long value) { return new JAXBElement(_Long_QNAME, Long.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link QName }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "QName") public JAXBElement createQName(QName value) { return new JAXBElement(_QName_QNAME, QName.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Short }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "short") public JAXBElement createShort(Short value) { return new JAXBElement(_Short_QNAME, Short.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "string") public JAXBElement createString(String value) { return new JAXBElement(_String_QNAME, String.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Short }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedByte") public JAXBElement createUnsignedByte(Short value) { return new JAXBElement(_UnsignedByte_QNAME, Short.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Long }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Long }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedInt") public JAXBElement createUnsignedInt(Long value) { return new JAXBElement(_UnsignedInt_QNAME, Long.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedLong") public JAXBElement createUnsignedLong(BigInteger value) { return new JAXBElement(_UnsignedLong_QNAME, BigInteger.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "unsignedShort") public JAXBElement createUnsignedShort(Integer value) { return new JAXBElement(_UnsignedShort_QNAME, Integer.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Integer }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "char") public JAXBElement createChar(Integer value) { return new JAXBElement(_Char_QNAME, Integer.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Duration }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link Duration }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "duration") public JAXBElement createDuration(Duration value) { return new JAXBElement(_Duration_QNAME, Duration.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >} * * @param value * Java instance representing xml element's value. * @return * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >} */ @XmlElementDecl(namespace = "http://schemas.microsoft.com/2003/10/Serialization/", name = "guid") public JAXBElement createGuid(String value) { return new JAXBElement(_Guid_QNAME, String.class, null, value); } }