ObjectFactory.java

package org.apache.cxf.jaxws.schemavalidation;

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.jaxws.schemavalidation 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 _CkResponse_QNAME = new QName("http://cxf.apache.org/jaxws/schemavalidation", "ckResponse");
    private static final QName _CkRequest_QNAME = new QName("http://cxf.apache.org/jaxws/schemavalidation", "ckRequest");
    private static final QName _RequestHeaderElement_QNAME = new QName("http://cxf.apache.org/jaxws/schemavalidation", "RequestHeaderElement");

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

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

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

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

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

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

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

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link CkResponseType }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link CkResponseType }{@code >}
     */
    @XmlElementDecl(namespace = "http://cxf.apache.org/jaxws/schemavalidation", name = "ckResponse")
    public JAXBElement<CkResponseType> createCkResponse(CkResponseType value) {
        return new JAXBElement<>(_CkResponse_QNAME, CkResponseType.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link CkRequestType }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link CkRequestType }{@code >}
     */
    @XmlElementDecl(namespace = "http://cxf.apache.org/jaxws/schemavalidation", name = "ckRequest")
    public JAXBElement<CkRequestType> createCkRequest(CkRequestType value) {
        return new JAXBElement<>(_CkRequest_QNAME, CkRequestType.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link RequestHeader }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link RequestHeader }{@code >}
     */
    @XmlElementDecl(namespace = "http://cxf.apache.org/jaxws/schemavalidation", name = "RequestHeaderElement")
    public JAXBElement<RequestHeader> createRequestHeaderElement(RequestHeader value) {
        return new JAXBElement<>(_RequestHeaderElement_QNAME, RequestHeader.class, null, value);
    }

}