⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 objectfactory.java

📁 SUN的JAVA EE5源代码java_ee_sdk-5_03-preview-samples
💻 JAVA
字号:
package webservices.ssl_jaxws;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 webservices.ssl_jaxws 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. *  */@XmlRegistrypublic class ObjectFactory {    private final static QName _GetFedTaxResponse_QNAME = new QName("http://webservices/ssl_jaxws", "getFedTaxResponse");    private final static QName _GetFedTax_QNAME = new QName("http://webservices/ssl_jaxws", "getFedTax");    /**     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: webservices.ssl_jaxws     *      */    public ObjectFactory() {    }    /**     * Create an instance of {@link GetFedTaxResponse }     *      */    public GetFedTaxResponse createGetFedTaxResponse() {        return new GetFedTaxResponse();    }    /**     * Create an instance of {@link GetFedTax }     *      */    public GetFedTax createGetFedTax() {        return new GetFedTax();    }    /**     * Create an instance of {@link JAXBElement }{@code <}{@link GetFedTaxResponse }{@code >}}     *      */    @XmlElementDecl(namespace = "http://webservices/ssl_jaxws", name = "getFedTaxResponse")    public JAXBElement<GetFedTaxResponse> createGetFedTaxResponse(GetFedTaxResponse value) {        return new JAXBElement<GetFedTaxResponse>(_GetFedTaxResponse_QNAME, GetFedTaxResponse.class, null, value);    }    /**     * Create an instance of {@link JAXBElement }{@code <}{@link GetFedTax }{@code >}}     *      */    @XmlElementDecl(namespace = "http://webservices/ssl_jaxws", name = "getFedTax")    public JAXBElement<GetFedTax> createGetFedTax(GetFedTax value) {        return new JAXBElement<GetFedTax>(_GetFedTax_QNAME, GetFedTax.class, null, value);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -