ObjectFactory.java

//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package org.apache.cxf.transports.http.configuration;

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.apache.cxf.transports.http.configuration package. 
 * <p>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.
 * 
 */
@XmlRegistry
public class ObjectFactory {

    private static final QName _Server_QNAME = new QName("http://cxf.apache.org/transports/http/configuration", "server");
    private static final QName _Client_QNAME = new QName("http://cxf.apache.org/transports/http/configuration", "client");
    private static final QName _ContextMatchStrategy_QNAME = new QName("http://cxf.apache.org/transports/http/configuration", "contextMatchStrategy");
    private static final QName _FixedParameterOrder_QNAME = new QName("http://cxf.apache.org/transports/http/configuration", "fixedParameterOrder");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.cxf.transports.http.configuration
     * 
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link HTTPServerPolicy }
     * 
     * @return
     *     the new instance of {@link HTTPServerPolicy }
     */
    public HTTPServerPolicy createHTTPServerPolicy() {
        return new HTTPServerPolicy();
    }

    /**
     * Create an instance of {@link HTTPClientPolicy }
     * 
     * @return
     *     the new instance of {@link HTTPClientPolicy }
     */
    public HTTPClientPolicy createHTTPClientPolicy() {
        return new HTTPClientPolicy();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link HTTPServerPolicy }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link HTTPServerPolicy }{@code >}
     */
    @XmlElementDecl(namespace = "http://cxf.apache.org/transports/http/configuration", name = "server")
    public JAXBElement<HTTPServerPolicy> createServer(HTTPServerPolicy value) {
        return new JAXBElement<>(_Server_QNAME, HTTPServerPolicy.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link HTTPClientPolicy }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link HTTPClientPolicy }{@code >}
     */
    @XmlElementDecl(namespace = "http://cxf.apache.org/transports/http/configuration", name = "client")
    public JAXBElement<HTTPClientPolicy> createClient(HTTPClientPolicy value) {
        return new JAXBElement<>(_Client_QNAME, HTTPClientPolicy.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://cxf.apache.org/transports/http/configuration", name = "contextMatchStrategy", defaultValue = "stem")
    public JAXBElement<String> createContextMatchStrategy(String value) {
        return new JAXBElement<>(_ContextMatchStrategy_QNAME, String.class, null, 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://cxf.apache.org/transports/http/configuration", name = "fixedParameterOrder", defaultValue = "false")
    public JAXBElement<Boolean> createFixedParameterOrder(Boolean value) {
        return new JAXBElement<>(_FixedParameterOrder_QNAME, Boolean.class, null, value);
    }

}