ObjectFactory.java 2.78 KB

package com.bsth.wsdl;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;


/**
 * This object contains factory methods for each 
 * Java content interface and Java element interface 
 * generated in the com.pd_transport package. 
 * <p>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 _MyHeader_QNAME = new QName("http://www.pd-transport.com/", "MyHeader");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.pd_transport
     * 
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link GetEmployee }
     * 
     */
    public GetEmployee createGetEmployee() {
        return new GetEmployee();
    }

    /**
     * Create an instance of {@link GetEmployeeResponse }
     * 
     */
    public GetEmployeeResponse createGetEmployeeResponse() {
        return new GetEmployeeResponse();
    }

    /**
     * Create an instance of {@link MyHeader }
     * 
     */
    public MyHeader createMyHeader() {
        return new MyHeader();
    }

    /**
     * Create an instance of {@link GetPAItem }
     * 
     */
    public GetPAItem createGetPAItem() {
        return new GetPAItem();
    }

    /**
     * Create an instance of {@link GetPAItemResponse }
     * 
     */
    public GetPAItemResponse createGetPAItemResponse() {
        return new GetPAItemResponse();
    }

    /**
     * Create an instance of {@link GetRetiredInfor }
     * 
     */
    public GetRetiredInfor createGetRetiredInfor() {
        return new GetRetiredInfor();
    }

    /**
     * Create an instance of {@link GetRetiredInforResponse }
     * 
     */
    public GetRetiredInforResponse createGetRetiredInforResponse() {
        return new GetRetiredInforResponse();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link MyHeader }{@code >}
     * 
     * @param value
     *     Java instance representing xml element's value.
     * @return
     *     the new instance of {@link JAXBElement }{@code <}{@link MyHeader }{@code >}
     */
    @XmlElementDecl(namespace = "http://www.pd-transport.com/", name = "MyHeader")
    public JAXBElement<MyHeader> createMyHeader(MyHeader value) {
        return new JAXBElement<MyHeader>(_MyHeader_QNAME, MyHeader.class, null, value);
    }

}