objectfactory.java
来自「J2EE 项目各个技术的源码」· Java 代码 · 共 72 行
JAVA
72 行
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 _GetFedTax_QNAME = new QName("http://webservices/ssl_jaxws", "getFedTax"); private final static QName _GetFedTaxResponse_QNAME = new QName("http://webservices/ssl_jaxws", "getFedTaxResponse"); /** * 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 GetFedTax } * */ public GetFedTax createGetFedTax() { return new GetFedTax(); } /** * Create an instance of {@link GetFedTaxResponse } * */ public GetFedTaxResponse createGetFedTaxResponse() { return new GetFedTaxResponse(); } /** * 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); } /** * 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); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?