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

org.example.schema.doubleit.ObjectFactory Maven / Gradle / Ivy

The newest version!

package org.example.schema.doubleit;

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 org.example.schema.doubleit 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 _DoubleItHeader_QNAME = new QName("http://www.example.org/schema/DoubleIt", "DoubleItHeader"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.example.schema.doubleit * */ public ObjectFactory() { } /** * Create an instance of {@link DoubleIt } * */ public DoubleIt createDoubleIt() { return new DoubleIt(); } /** * Create an instance of {@link DoubleItResponse } * */ public DoubleItResponse createDoubleItResponse() { return new DoubleItResponse(); } /** * 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://www.example.org/schema/DoubleIt", name = "DoubleItHeader") public JAXBElement createDoubleItHeader(Integer value) { return new JAXBElement(_DoubleItHeader_QNAME, Integer.class, null, value); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy